[Numpy-discussion] ImportError: /usr/local/lib/python2.7/site-packages/numpy-1.8.0-py2.7-linux-x86_64.egg/numpy/core/multiarray.so: undefined symbol: PyUnicodeUCS2_AsASCIIString
ben.root at ou.edu
Wed Apr 16 16:48:53 EDT 2014
Did you rebuild numpy after rebuilding python? Note that if that works,
then you will likely need to recompile the entire scipy stack (matplotlib,
On Wed, Apr 16, 2014 at 3:23 PM, jaylene <jaylenexue at yahoo.com> wrote:
> I rebuilt the python with -enabled_shared to resolve the following error:
> /usr/bin/ld: /usr/local/lib/libpython2.7.a(cobject.o): relocation
> R_X86_64_32S against `PyCObject_Type' can not be used when making a
> shared object; recompile with -fPIC
> /usr/local/lib/libpython2.7.a: could not read symbols: Bad value
> However, there is a new error with this rebuilt python "ImportError:
> undefined symbol: PyUnicodeUCS2_AsASCIIString".
> Does anyone know how to fix this error?
> View this message in context:
> Sent from the Numpy-discussion mailing list archive at Nabble.com.
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion