>>> import theano Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/2.7/site-packages/theano/__init__.py", line 52, in <module> from theano.gof import ( File "/Library/Python/2.7/site-packages/theano/gof/__init__.py", line 38, in <module> from theano.gof.cc import \ File "/Library/Python/2.7/site-packages/theano/gof/cc.py", line 30, in <module> from theano.gof import link File "/Library/Python/2.7/site-packages/theano/gof/link.py", line 18, in <module> from theano.gof.type import Type File "/Library/Python/2.7/site-packages/theano/gof/type.py", line 17, in <module> from theano.gof.op import CLinkerObject File "/Library/Python/2.7/site-packages/theano/gof/op.py", line 25, in <module> from theano.gof.cmodule import GCC_compiler File "/Library/Python/2.7/site-packages/theano/gof/cmodule.py", line 8, in <module> import six.moves.cPickle as pickle ImportError: No module named cPickle
I'm pretty sure there is no problem with cPickle. Can it be the problem of other dependencies? It's true that I upgraded all the packages this morning, so that a conflict of version may occur. Nonetheless, the problem still exists after I switched to the bleeding-edge version of theano. Would someone help me figure it out?
PS: My developing device is Macbook Pro 13(early 2015); my system version is OS X 10.10.5; python version is 2.7.10
=========================== Second Edit ===================================
It seems I do have latest version of six installed on my Mac.
YiqundeMacBook-Pro:~ Leo$ pip show six --- Metadata-Version: 2.0 Name: six Version: 1.9.0 Summary: Python 2 and 3 compatibility utilities Home-page: http://pypi.python.org/pypi/six/ Author: Benjamin Peterson Author-email: benjamin@python.org License: MIT Location: /Library/Python/2.7/site-packages Requires: