You have a local file named pickle.py
; this is being imported instead of the pickle
module. This module then tries to import mlab
before that module itself has completed importing in a circular import dependency:
File "/usr/lib/python2.7/subprocess.py", line 432, in <module>
import pickle
File "pickle.py", line 4, in <module>
from mayavi import mlab
Note how subprocess
tries to import pickle
and finds your file instead (the path is relative instead of a full path inside /usr/lib/python2.7/
.
Rename pickle.py
to something else, you are masking the standard library here.