2016-12-26 18:03:44 -0500 | received badge | ● Student (source) |
2016-08-03 01:31:40 -0500 | received badge | ● Popular Question (source) |
2016-08-03 01:31:40 -0500 | received badge | ● Notable Question (source) |
2016-08-03 01:31:40 -0500 | received badge | ● Famous Question (source) |
2016-08-01 16:15:29 -0500 | answered a question | How do I import the psspy module in a Python script? this is more of a follow up question: I am getting the following error with your code: I copied and pasted your code and only added 1 single line and adjusted the path: What am I missing? FYI I do not have a psspy.py in that directory, but do have psspy.pyc and psspyc.pvd in: C:\Program Files (x86)\PTI\PSSEXplore34\PSSPY27 When I run with that path i get the following error: I find both rather confusing and offering little in the way of help with their error messages. Am I missing a DLL file or more, or is psspy just no longer provided with PSSEXplore? |
2016-07-31 22:20:22 -0500 | asked a question | ImportError: DLL Load failed:... Sadly I am not sure how to load screen shots for this so I hope my explanation is clear. I have a fresh install of the student vs. of PSSe with Python. I am attempting to teach myself how to use them. There are some very good video tutorials out there, but none of them address this type of issue. I am running win7 (yeah i know MS Windows is not the best for programming, but hey its what companies use, so its what I am learning on) and PSSE 34 with I believe python 2.7. I have verified the path of psse: I found psspy.pvc and psspy.pyd in the psspy27 sub-directory of above. All I am attempting to perform right now is to get python to call psspy and run a simple 100 node example file. following this video: https://www.youtube.com/watch?v=nHrAA... My script looks as follows: when I run the above script I get the following output from python shell: Sorry to be a bother, but next? What DLL is missing, were do I get said DLL, and how do I resolve this error so I can start to practice? Thank you in advance. |