Ask Your Question

PPS Newbie's profile - activity

2014-02-24 04:16:38 -0500 received badge  Famous Question (source)
2013-07-24 10:41:02 -0500 received badge  Notable Question (source)
2013-06-11 13:49:00 -0500 received badge  Popular Question (source)
2013-06-04 01:41:54 -0500 received badge  Commentator
2013-06-04 01:41:54 -0500 commented answer Mutual Data

Fantastic, thanks.

2013-06-04 01:41:36 -0500 received badge  Supporter (source)
2013-06-04 01:41:30 -0500 received badge  Scholar (source)
2013-06-03 12:32:04 -0500 received badge  Self-Learner (source)
2013-06-03 12:32:04 -0500 received badge  Necromancer (source)
2013-06-03 12:32:04 -0500 received badge  Teacher (source)
2013-06-02 01:58:41 -0500 asked a question Mutual Data

Hi experts, I wonder if there is there an API for python to retrieve the Mutual data (the data in the mutual tab) in a case ??? Thanks.

2013-06-02 01:57:04 -0500 commented question PSEEv33 Import Tkinter problem

This has been almost a year, and recently I found that PTI has fixed this problem with PSSEv33.4 The embedded python was complied in a way that doesnt point to the proper python path in the previous release.

2013-06-02 01:49:28 -0500 answered a question PSEEv33 Import Tkinter problem

It been some time since I asked this question. And I just want share the update to ppl who may came across the same problem in the future. This is a known problem in prior to PSSEv33.4. PSSEv33.4 fixed this problem. Thanks.

2012-08-07 01:54:09 -0500 received badge  Famous Question (source)
2012-07-27 08:34:46 -0500 received badge  Notable Question (source)
2012-07-23 16:06:50 -0500 received badge  Popular Question (source)
2012-07-22 15:18:19 -0500 commented question PSEEv33 Import Tkinter problem

Hi Jervis, that was a good point. But I compared the order of the import module to that of PSSEv32 and they are pretty much the same. Do you have v33?? If so, can you just created an automate file with one line of code: "import Tkinter" and run it in v33 and see if you have the same error as mine?

2012-07-20 20:00:04 -0500 commented question PSEEv33 Import Tkinter problem

It is almost identical to the system path if I run the script in the python shell. However, when I run a script which contain a line "import Tkinter" inside PSSEv33, it just throws me the DLL not found error. But I have no problem to run this script inside the python shell

2012-07-20 19:56:52 -0500 commented question PSEEv33 Import Tkinter problem

'C:\\Python27', 'C:\\Python27\\lib\\site-packages', 'C:\\Program Files (x86)\\PTI\\PSSEUniversity33\\PSSBIN'];

2012-07-20 19:56:26 -0500 commented question PSEEv33 Import Tkinter problem

'C:\\Users\\jeff\\Desktop', 'C:\\Program Files (x86)\\PTI\\PSSEUniversity33\\PSSBIN\\python27.zip', 'C:\\Python27\\Lib', 'C:\\Python27\\DLLs', 'C:\\Python27\\Lib\\lib-tk', 'C:\\Program Files (x86)\\PTI\\PSSEUniversity33\\Example', 'C:\\Program Files (x86)\\PTI\\PSSEUniversity33\\PSSBIN',

2012-07-20 19:54:11 -0500 commented question PSEEv33 Import Tkinter problem

When I run this script inside PSSEv33, it gvies: 2.7 (r27:82500, Feb 15 2011, 10:12:26) [MSC v.1600 32 bit (Intel)] C:\Program Files (x86)\PTI\PSSEUniversity33\PSSBIN\psse33.exe

2012-07-20 19:53:27 -0500 commented question PSEEv33 Import Tkinter problem

I save a .py file which includes the following lines import sys print sys.version print sys.executable print sys.path

2012-07-20 07:34:05 -0500 commented question PSEEv33 Import Tkinter problem

However, I do not have the same problem when I install PSSEv32 with python2.5 on my windows 7 machine.

2012-07-20 07:33:34 -0500 commented question PSEEv33 Import Tkinter problem

Hi JervisW, I only have PSSEv33 installed. And I have tried to install Python2.7 which comes with PSSEv33 as well as The version I downloaded from the official python website separately. Both generates me the same problem.

2012-07-20 03:08:50 -0500 received badge  Student (source)
2012-07-20 00:50:47 -0500 asked a question 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.