Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PSEEv33 Import Tkinter problem

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.

click to hide/show revision 2
retagged

PSEEv33 Import Tkinter problem

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.