problem with interpreter

chusky wojciech.bernach at gmail.com
Thu Sep 11 11:23:38 CEST 2008


Hi !

I have Python installed on C:\Python25
Yesterday I added new "wx" library to the Python

when I run C:\Python25\python.exe from the command line there is a
problem with finding libraries:

C:\Python25>python.exe
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wx\__init__.py",
line 45,
in <module>
    from wx._core import *
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wx\_core.py",
line 5, in <
module>
    import new
  File "new.py", line 1
    import
         ^
SyntaxError: invalid syntax
>>>


/////////////////////

.... that problem doesn't exist when I run python.exe from different
location (C:\, D:\) with python in the system path



More information about the Python-list mailing list