'no module wxPython

I am using windows 8.1, 64 bit with python 2.7, and trying to import wxPython, which I downloaded from http://www.lfd.uci.edu/~gohlke/pythonlibs/
I installed it using pip I have a wx and wxpython libraries in C:\Python27\Lib\site-packages
but when I try to import wx or wxPython I get an error message:
ImportError: No module named wx
or
ImportError: No module named wxPython

what is the problem?

many many thanks to any answer

ariel



Solution 1:[1]

As it appears there is an answer it this forum. Python ImportError: No module named wx
module wx is inside wxPython, and it needs to be copy-paste to site-package. as wierd as it may sounds. it works

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community