import torch NameError: name ‘_C‘ is not defined

在安装了pandas后,jupyter notebook上import torch失败,解决办法如下:

pip install Cython

之前conda install Cython仍报错,但是换成pip就可以,原因未找到。

你可能感兴趣的:(jupyter,notebook,python,jupyter)