Is anyone else having this library issue with PSS/E 36 when trying to read in a GE PSLF format .epc?
"ModuleNotFoundError: No module named ‘ndppslfepc_nb’”
Hey Stephen,
Please run the following in your command line input We need to see if you have added the directory which contains the library.
Justin
import sys
print("Python Module Search Path (sys.path):")
for path in sys.path:
print(path)
Here is the result of the Python script provided. (I modified the script to add the semi-colon after each path.) It appears the path is correct.
Python Module Search Path (sys.path):
C:\Program Files\PTI\PSSE36\36.0\PSSPY311;
C:\Program Files\Python311\python311.zip;
C:\Program Files\Python311\DLLs;
C:\Program Files\Python311\Lib;
C:\Program Files\PTI\PSSE36\36.0\PSSBIN;
%USERPROFILE%\AppData\Roaming\Python\Python311\site-packages;
C:\Program Files\Python311;
C:\Program Files\Python311\Lib\site-packages;
C:\Program Files\Python311\Lib\site-packages\psse_env_manager;
C:\Program Files\Python311\Lib\site-packages\win32;
C:\Program Files\Python311\Lib\site-packages\win32\lib;
C:\Program Files\Python311\Lib\site-packages\Pythonwin;
Immediately after this I confirmed the error is still occuring.
import wecclf_gui
Traceback (most recent call last):
File "<string>", line 1, in <module>
File ".\wecclf_gui.py", line 28, in <module>
File "Py311\\ndppslf.pyx", line 271, in init ndppslf
File "Py311\\ndppslfepc.pyx", line 117, in init ndppslfepc
ModuleNotFoundError: No module named 'ndppslfepc_nb'
Python Exception raised!
I wanted to make sure you had the PSSPY folder in the path. The code was not a targeted at a fix for the issue. Some of the PTI python code is left uncompiled, but this one doesn’t look visible. A request to PTI support will be required… potentially the module not found needs to be edited to remove the information after first period to line up with the module name…. worth a shot in parallel.
Unfortunately we just got impacted by a large internet outage (others may experience this too) and can’t hit the licensing server. I’ll try this out once I’m back online.