Theano import error: No module named cPickle

自古美人都是妖i 提交于 2019-12-03 06:26:24
dipendra009

I had the same problem and upgrading six solved issue:

sudo easy_install --upgrade six

Try to avoid using sudo at all costs. Open a python session and run

import six
print six.__version__
print six.__file__

The version will likely not be most recent (1.10.0), so go manually delete the six.py and six.pyc files at the imported path, and then run pip install six. Python should now be importing the latest version of six, compatible with Theano :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!