[Numpy-discussion] PyUnicodeUCS2 issue with numpy revision 5833

JohannCT johann.cohentanugi@gmail....
Thu Sep 18 22:52:52 CDT 2008


sorry my bad.... wrong python executable in ly config.
Johann


JohannCT wrote:
> 
> hello, I just updated my svn repository, but I am now unable anymore to
> import numpy :
> In [1]: import numpy as np
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call
> last)
> 
> /home/cohen/<ipython console> in <module>()
> 
> /usr/lib/python2.5/site-packages/numpy/__init__.py in <module>()
>     123         return loader(*packages, **options)
>     124 
> --> 125     import add_newdocs
>     126     __all__ = ['add_newdocs']
>     127 
> 
> /usr/lib/python2.5/site-packages/numpy/add_newdocs.py in <module>()
>       7 #       core/fromnumeric.py, core/defmatrix.py up-to-date.
>       8 
> ----> 9 from lib import add_newdoc
>      10 
>      11 add_newdoc('numpy.core', 'dtype',
> 
> /usr/lib/python2.5/site-packages/numpy/lib/__init__.py in <module>()
>       2 from numpy.version import version as __version__
>       3 
> ----> 4 from type_check import *
>       5 from index_tricks import *
>       6 from function_base import *
> 
> /usr/lib/python2.5/site-packages/numpy/lib/type_check.py in <module>()
>       6            'common_type']
>       7 
> ----> 8 import numpy.core.numeric as _nx
>       9 from numpy.core.numeric import asarray, asanyarray, array, isnan,
> \
>      10                 obj2sctype, zeros
> 
> /usr/lib/python2.5/site-packages/numpy/core/__init__.py in <module>()
>       3 from numpy.version import version as __version__
>       4 
> ----> 5 import multiarray
>       6 import umath
>       7 import _internal # for freeze programs
> 
> ImportError: /usr/lib/python2.5/site-packages/numpy/core/multiarray.so:
> undefined symbol: PyUnicodeUCS2_FromUnicode
> 
> 
> I did not change anything to my python setup, and I did remove the build
> directory before recompiling.
> Anyone has an idea?
> thanks in advance,
> Johann
> 

-- 
View this message in context: http://www.nabble.com/PyUnicodeUCS2-issue-with-numpy-revision-5833-tp19564937p19565823.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.



More information about the Numpy-discussion mailing list