When you say Creator 13 with Python 2.7, do you mean that you have Python 2.7 installed?
Can you also tell us what the value of the env var "PYTHONPATH" is on your workstation? This must point to the 2.7 installation when running CR13 and the 2.5 python installation when running 4.X.
Craig
I'm having some trouble with importing stuff in Creator 13 with Python 2.7 and I don't understand why.
For example, in Creator 4.2.2 with Python 2.5, I use this command:
And it works fine.
If I have that in a script in CR13 with Python 2.7, it throws an error and I have no idea why:
E: Traceback (most recent call last):
E: File "<string>", line 10, in <module>
E: File "c:\Python27\Lib\ctypes\__init__.py", line 10, in <module>
E: from _ctypes import Union, Structure, Array
E: ImportError: DLL load failed: The specified procedure could not be found
I get a similar problem trying to run an old script that used tkinter.
This is my command:
But then I get this error in CR13 which stops the script from running.
E: Traceback (most recent call last):
E: File "<string>", line 9, in <module>
E: File "c:\Python27\Lib\lib-tk\Tkinter.py", line 38, in <module>
E: import FixTk
E: File "c:\Python27\Lib\lib-tk\FixTk.py", line 65, in <module>
E: import _tkinter
E: ImportError: DLL load failed: %1 is not a valid Win32 application.
Any ideas?