我想使用jupyter ipython notebook在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()时,再次出现此错误