Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Dyntools import

Hi all,

I am just starting out with PSSE and Python. I did dynamic simulation and created a number of OUT files that I want to export to Excel. I am aware of Dyntools and have found numerous examples on this website. However, if I try to import dyntools or try to run any of the python files from the EXAMPLE directory, I get an error:

ImportError: bad magic number in 'dyntools': b'\x03\xf3\r\n'

I use PSSE 34.3.0 and have Python 2.7 and Python 3.11 installed. I though it is related to the wrong environment hence I have installed "virtualenv" in Python and used "virtualenv -p c:\Python27\python.exe venv" to change to 2.7 environment, but I am still getting the same error.

Any ides what is wrong?

Thanks