Python 2.7 IPY并行安装:“;ImportError:没有名为“路径”的模块;

Python 2.7 IPY并行安装:“;ImportError:没有名为“路径”的模块;,python-2.7,importerror,enthought,canopy,Python 2.7,Importerror,Enthought,Canopy,在通过Canopy package manager或pip安装ipyparallel(OSX)后,仍然无法导入 注意:论坛建议轻松安装路径文件不一致。但是,我在easy-install.pth中检测不到任何指向python站点包文件夹的行 /Users/tahahassan/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/ipykernel/connect.py in <module>()

在通过Canopy package manager或pip安装ipyparallel(OSX)后,仍然无法导入

注意:论坛建议轻松安装路径文件不一致。但是,我在easy-install.pth中检测不到任何指向python站点包文件夹的行

/Users/tahahassan/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/ipykernel/connect.py in <module>()

      11 
      12 from IPython.core.profiledir import ProfileDir
 ---> 13 from IPython.paths import get_ipython_dir
..

ImportError: No module named paths
/Users/tahahassan/Library/enthught/Canopy_64bit/User/lib/python2.7/site-packages/ipykernel/connect.py in()
11
12从IPython.core.profiledir导入profiledir
--->13从IPython.path导入get_IPython_dir
..
ImportError:没有名为路径的模块

如果您有任何想法,我们将不胜感激。

在OSX上的Canopy中,我可以轻松导入
ipyparallel
。最有可能的情况是,由于对jupyter的更改导致了包体系结构的更改,导致与ipython/jupyter相关的包名称和版本混淆。如果您不介意从头开始,我建议卸载、重置和安装当前的Canopy 1.6.2(请参阅)

如果您不想这样做,因为您已经安装了很多第三方软件包,那么我建议强制安装jupyter和所有依赖项,然后是ipyparallel:

enpkg --forceall ipython
enpkg --forceall ipyparallel