我正在尝试导入pygpu
并获得以下内容:
>>> import pygpu
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/michele/anaconda3/lib/python3.6/site-packages/pygpu/__init__.py", line 7, in <module>
from . import gpuarray, elemwise, reduction
ImportError: /home/michele/anaconda3/lib/python3.6/site-packages/pygpu/gpuarray.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PySlice_Unpack
我已经通过python
安装了anaconda
,一切似乎都运行正常。它可以是一个bug吗?或者我错过了什么?