Symbol Not Found

asked 2016-11-11 08:20:07 -0500

Pat gravatar image

updated 2016-11-11 10:29:31 -0500

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/, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString
  Referenced from: /Users/name/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/
  Expected in: flat namespace
 in /Users/name/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/numpy/core/

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

edit retag flag offensive close merge delete


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 ( 2016-11-11 10:29:23 -0500 )edit

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 ( 2016-11-11 10:30:18 -0500 )edit