First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
When the Python version which is by default used in windows (you can notice that by typing the following in cmd window:
python
If you open the PSSE installation folder, you should have the same version of PSSPY folder, otherwise, the bad magic error happens.
For example, if you are using Python 3.11, you must have PSSPY311 in the PSSE installation folder (C:\Program Files\PTI\PSSE35\35.6\PSSPY311), other wise, running the Py script won't be successful.
2 | No.2 Revision |
When the Python version which is by default used in windows (you can notice that by typing the following in cmd window:
python
If you open the PSSE installation folder, you should have the same version of PSSPY folder, otherwise, the bad magic error happens.
For example, if you are using Python 3.11, you must have PSSPY311 in the PSSE installation folder (C:\Program Files\PTI\PSSE35\35.6\PSSPY311), other wise, running the Py script won't be successful.
One trick would be to delete all non-relevant Python versions from your computer by control panel/remove programs
3 | No.3 Revision |
When the The Python version which is by default used in windows (you can notice that be seen by typing the following in cmd window:
python
If you open the PSSE installation folder, you should have the same version of PSSPY folder, otherwise, the bad magic error happens.
For example, if you are using Python 3.11, you must have PSSPY311 in the PSSE installation folder (C:\Program Files\PTI\PSSE35\35.6\PSSPY311), other wise, running the Py script won't be successful.
One trick would be to delete all non-relevant Python versions from your computer by control panel/remove programs