linuxunicodenumpypython-2.7ucs

Numpy needs the ucs2


I have installed Numpy using ActivePython and when I try to import numpy module, it is throwing the following error:

ImportError: /opt/ActivePython-2.7/lib/python2.7/site-packages/numpy/core/multiarray.so: undefined symbol: PyUnicodeUCS2_FromUnicode

I am fairly new to python, and I am not sure what to do. I appreciate if you could point me to the right direction.

Cheers



Solution

  • I suggest that a quick solution to these sort of complications is that you use the Enthought Python Distribpotion (EPD) on Linux which includes a wide range of extensions. Cheers.