First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Psse v.34.7 installs *.pyc modules for python v.3.7 and v.3.4, in addition to v.2.7, while PSSe v33 only install *.pyc modules for python 2.7 therefore other python versions (v.3.6, etc.) would give the 'magic number' error when trying to load PSSe pyc modules.
To assign a specific python version to PSSe I have separate launching link icons.
for PSSe v.34.7 + python v.3.7, select a PSSe link icon launcher (named PSSE3437) and right-click to open its 'Properties' panel. On the 'Target' field enter ""C:\Program Files (x86)\PTI\PSSE34\PSSBIN\psse34.exe" -pyver 37", then click 'Apply'
for PSSe v.34.7 + python v.2.7, select a PSSe link icon launcher (named PSSE3427) and right-click to open its 'Properties' panel. On the 'Target' field enter ""C:\Program Files (x86)\PTI\PSSE34\PSSBIN\psse34.exe" -pyver 27", then click 'Apply'