Home > other >  When the import powerfactory pycharm error but irresistible to correct
When the import powerfactory pycharm error but irresistible to correct

Time:09-20

The code is:
The import sys
Sys. Path. Append (r "E: \ \ DIgSILENT \ PowerFactory 15.1 python")
The import powerfactory as pf
App=pf. GetApplication ()
If the app is None:
Raise the Exception (" getting PowerFactory application failed ")
The else:
Print (" app...
")
Pycharm error results:
Creating PowerFactory API instance failed.
Process has finished, exit code - 1073741819 (0 xc0000005)

Irresistible results:

CodePudding user response:

The original poster is my idle error ah, all said can't find the module or DLL directly
  • Related