error in importing numpy

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Jun 5 09:28:54 EDT 2010


On 12:26 pm, michelparker at live.com wrote:
>
>Hi,
>I am using ubuntu 9.10 . I just installed python 2.6.1 in 
>/opt/python2.6 for using it with wingide for debugging symbols. I also 
>installed numpy in python 2.6.1 using -- prefix method. but when i 
>import numpy i get following error :
>
>ImportError: undefined symbol: _PyUnicodeUCS4_IsWhitespace
>please help me.

Your numpy is compiled for a UCS4 build of Python.  But you have a UCS2 
build of Python.  Rebuild one of them to match up with the other.

Jean-Paul



More information about the Python-list mailing list