Anaconda 使用SageMath显示图形和线性代码时出错

Anaconda 使用SageMath显示图形和线性代码时出错,anaconda,jupyter,sage,Anaconda,Jupyter,Sage,我想使用jupyter ipython笔记本在SageMath 7.3中显示此代码的图形 graph_dict = {0: [1,4,5], 1: [2,6], 2: [3,7], 3: [4,2], 4: [0,1], 5: [7, 6], 6: [2], 7: [2]} G = Graph(graph_dict) G.show(graph_border=True) 错误是 ImportError: dlopen(/Users/tubagus/Library/Enthought/Canopy

我想使用jupyter ipython笔记本在SageMath 7.3中显示此代码的图形

graph_dict = {0: [1,4,5], 1: [2,6], 2: [3,7], 3: [4,2], 4: [0,1], 5: [7, 6], 6: [2], 7: [2]}
G = Graph(graph_dict)
G.show(graph_border=True)
错误是

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

当我使用LinearCode()时,此错误再次发生

能否请您分享有关如何安装库以及这些库的版本的详细信息?另外,以下代码打印到控制台中的内容是什么<代码>导入系统;打印sys.maxunicodeI使用
conda在我的终端中安装numpy
并已在最新版本的终端中的numpy中升级,错误仍然出现。在我的sagemath中,代码打印
111411
您的问题与此类似。使用适当的unicode支持重新安装python应该可以解决问题谢谢你的建议,我已经在删除我的canopy并重新安装sage之后解决了这个问题