Error when executing python file generated from .psimsch file
Mario_Steiner
New Altair Community Member
I generated a .py file using the "Save as Python Code" function in the "File" tab.
When i want to run this .py file then, i recieve the error:
from .Psim_Class import PSIM
ImportError: bad magic number in 'psimapipy.Psim_Class': b'U\r\r\n'
I executed the Altair_PSIM_2024.1\Python\Source\dist\psimapipy-2024.0-py3-none-any.whl and the .bat files in Altair_PSIM_2024.1\Python\Source\
Did i mess up the installation?
Tagged:
0