installing from source
Green Kobold
greenkobold at gmail.com
Mon May 28 12:32:37 PDT 2007
Hi,
I posted this to the users list, no reply.. So here it is:
after compiling wxwidgets and building wxpython2.8, i have an error
when importing stuff:
sage: import wx
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
/media/kubold/home/ref/Desktop/packages/sage/<ipython console> in <module>()
/media/kubold/home/ref/Desktop/packages/sage/local/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/__init__.py
in <module>()
43
44 # Load the package namespace with the core classes and such
---> 45 from wx._core import *
46 del wx
47
/media/kubold/home/ref/Desktop/packages/sage/local/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/_core.py
in <module>()
2 # Don't modify this file, modify the SWIG interface instead.
3
----> 4 import _core_
5 import new
6 new_instancemethod = new.instancemethod
<type 'exceptions.ImportError'>: No module named _core_
I did the ownfull thing of copying _core_ to
../site-packages/wx-2.8-gtk2-ansi.. the error now is:
sage: import wx
---------------------------------------------------------------------------
<type 'exceptions.ImportError'> Traceback (most recent call last)
/media/kubold/home/ref/Desktop/packages/sage/<ipython console> in <module>()
/media/kubold/home/ref/Desktop/packages/sage/local/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/__init__.py
in <module>()
43
44 # Load the package namespace with the core classes and such
---> 45 from wx._core import *
46 del wx
47
/media/kubold/home/ref/Desktop/packages/sage/local/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/_core.py
in <module>()
2 # Don't modify this file, modify the SWIG interface instead.
3
----> 4 import _core_
5 import new
6 new_instancemethod = new.instancemethod
<type 'exceptions.ImportError'>: libwx_gtk2_aui-2.8.so.0: cannot open
shared object file: No such file or directory
Can anyone help on this?
Thanks in advance,
gk
More information about the wxpython-dev
mailing list