[wxPython-users] wx import error

Werner F. Bruhin werner.bruhin at free.fr
Sun Dec 3 14:45:36 PST 2006


Hi Ketan,

Ketan Maheshwari wrote:
> Peter Hansen wrote:
>
>> Ketan Maheshwari wrote:
>>
>>> hi *:
>>> i am setting wxpython and running into this problem when i try to 
>>> run a simple program:
>>> *************************************
>>>    ketan at nimrod:~$ python2.4 -u y.py
>>>    Traceback (most recent call last):
>>>    File "y.py", line 1, in ?
>>>    import wx
>>>    ImportError: No module named wx
>>> *************************************
>>> python is python2.4
>>> wx is wx-2.6.3.3
>>> *(i know they work together)
>>
>>
>> How do you know that?  What happens if you just do "import wx" at the 
>> interactive Python interpreter prompt?
>
> I have already worked with that configuration. however, it is 
> installed on a machine that I can not use anymore. The machine I am 
> installing is another machine. However, I do not have admin rights. 
> when i do import wx on interactive prompt, i get the following message:
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> ImportError: No module named wx
Looks like wxPython is not installed or is not in the Path.

Werner





More information about the wxpython-users mailing list