First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version | asked 2012-07-20 00:50:47 -0600 Anonymous |
Hey guys,
I am new to PSEE and I am also new to this website. I appreciate it if someone can give me some insights of a strange issue I came across with PSEEv33
I had a "macro" python code which is developed by someone else for PSEEv32 and it works fine. Recently I switched to a new windows 7 machine and have PSEEv33 installed. However, running this python marco gives me import errors. I found that running this marco in PSSEv33 raised a problem when I import the Tkinter module (where it said:
""" import _tkinter ImportError: DLL load failed: The specified procedure could not be found. """
The strange thing is that there is no problem if I run a python file which imports this Tkinter module in the python shell separately.
Because the python marco I had contained works fine with PSEEv32, I do not want to convert it into an alternative python file which runs under the system python shell.
Anyone has an idea what has gone wrong? Thank you so much.
2 | retagged |
Hey guys,
I am new to PSEE and I am also new to this website. I appreciate it if someone can give me some insights of a strange issue I came across with PSEEv33
I had a "macro" python code which is developed by someone else for PSEEv32 and it works fine. Recently I switched to a new windows 7 machine and have PSEEv33 installed. However, running this python marco gives me import errors. I found that running this marco in PSSEv33 raised a problem when I import the Tkinter module (where it said:
""" import _tkinter ImportError: DLL load failed: The specified procedure could not be found. """
The strange thing is that there is no problem if I run a python file which imports this Tkinter module in the python shell separately.
Because the python marco I had contained works fine with PSEEv32, I do not want to convert it into an alternative python file which runs under the system python shell.
Anyone has an idea what has gone wrong? Thank you so much.