problem with interpreter

chusky wojciech.bernach at
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:

Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on
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\",
line 45,
in <module>
    from wx._core import *
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-ansi\wx\",
line 5, in <
    import new
  File "", line 1
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