Thomas Heller wrote:
I see the same Behaviour as Marc-Andre: Traceback in Win95 (running under VMWare, running under Win2k).
C:\WINDOWS>\python21\python Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information.
import mx.Number print mx.Number.Float(3.141) 3.14100000000000001421e+0
quit 'Use Ctrl-Z plus Return to exit.'
C:\WINDOWS>cd \python21
C:\Python21>python Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information.
import mx.Number Traceback (most recent call last): File "<stdin>", line 1, in ? File "c:\python21\mx\Number\__init__.py", line 9, in ? from Number import * File "c:\python21\mx\Number\Number.py", line 11, in ? from mxNumber import * File "c:\python21\mx\Number\mxNumber\__init__.py", line 21, in ? from mxNumber import * ImportError: DLL load failed: One of the library files needed to run this applic ation cannot be found.
C:\Python21>ver
Windows 95. [Version 4.00.950]
C:\Python21>
Marc-Andre, what about other python versions?
mxNumber needs Python 2.1, so I have no way of testing it under Python 2.0. Both imports work on Winows 98SE, so I guess this has something to do with Win95 no handling imports using relative paths correctly (if you run Python with -vv you'll see that Python searches using relative paths when started from C:\Python21). -- Marc-Andre Lemburg ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Pages: http://www.lemburg.com/python/