[wxPython-users] _core_ not found

Robin Dunn robin at alldunn.com
Wed Sep 5 15:24:18 PDT 2007


Dustin Mitchell wrote:
> I've installed wxPython according to the BUILD.txt and INSTALL.txt.  
> Everything completed successfully.  When I try and import wx it returns 
> _core_ module not found which is occurring in _core.py.  If I look in my 
> python site-packages folder.  There is a _core_.so but no _core_.py.  
> Can anyone elaborate or help me out on this? 

_core_.so is a Python extension module and it can be imported without a 
.py file.

Things to double-check:

* Make sure that you are not executing a different install of Python 
than what you are expecting.

* Make sure that your PYTHONPATH or your sys.path is not finding another 
wx/_core.py before the one you are expecting.  It's possible that if 
there is another one that it doesn't have the _core_.so file in the same 
place, and since_core.py does a relative import is won't find the 
expected one.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list