Symbol Not Found

asked 8 years ago

Pat gravatar image

updated 8 years ago

kcrisman gravatar image

I'm Runnning Sage 7.2 on OS Sierra. All was running fine until I tried to run the line: VS = VectorSpace(GF(2), 5)

I get the error:

ImportError: dlopen(/Users/name/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/multiarray.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString
  Referenced from: /Users/name/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/multiarray.so
  Expected in: flat namespace
 in /Users/name/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/multiarray.so

If anyone could shed some light on this I'd be very grateful. Could it be that Sagemath 7.2 has incompatibilities with OS Sierra?

Many Thanks Patrick

Preview: (hide)

Comments

Exactly which version did you download? If you build it from scratch it should be fine, but the downloaded version for a prior MacOS might sometimes not be compatible.

kcrisman gravatar imagekcrisman ( 8 years ago )

Actually, your error message suggests something else - it seems to be using the "wrong" Python. Do you have some customization in your path that would lead Sage to be looking in your Enthought distribution for stuff?

kcrisman gravatar imagekcrisman ( 8 years ago )