无法安装Jupyter Conda

时间:2017-06-24 19:40:30

标签: python qt anaconda jupyter conda

昨晚我刚刚安装了最新版本的Anaconda。

为Udemy类创建新环境时

conda create --name Udemy_Jose pandas numpy scikit-learn jupyter

它会挂起 - 跑了一个小时而没有运气。我删除了环境并重新启动。我发现罪魁祸首是Jupyter。当我尝试conda install jupyter时,它会运行并挂起并重新运行,但一遍又一遍地遇到此错误:

TRACE conda.core.path_actions:verify(226): retrying lexists(C:\Users\matt\Anaconda3\pkgs\qt-5.6.2-vc14_4\Library\doc\global\config.qdocconf) in 0.163744 sec
TRACE conda.core.path_actions:verify(226): retrying lexists(C:\Users\matt\Anaconda3\pkgs\qt-5.6.2-vc14_4\Library\doc\global\config.qdocconf) in 0.232069 sec
TRACE conda.core.path_actions:verify(226): retrying lexists(C:\Users\matt\Anaconda3\pkgs\qt-5.6.2-vc14_4\Library\doc\global\config.qdocconf) in 0.445261 sec
TRACE conda.core.path_actions:verify(226): retrying lexists(C:\Users\matt\Anaconda3\pkgs\qt-5.6.2-vc14_4\Library\doc\global\config.qdocconf) in 0.846769 sec
TRACE conda.core.path_actions:verify(226): retrying lexists(C:\Users\matt\Anaconda3\pkgs\qt-5.6.2-vc14_4\Library\doc\global\config.qdocconf) in 1.65144 sec
TRACE conda.core.path_actions:verify(226): retrying lexists(C:\Users\matt\Anaconda3\pkgs\qt-5.6.2-vc14_4\Library\doc\global\config.qdocconf) in 3.29855 sec
DEBUG conda.core.link:_verify_individual_level(191): Verification error in action LinkPathAction(target_prefix='C:\\Users\\matt\\Anaconda3\\envs\\Udemy_Jose', target_short_path='Library/doc/global/config.qdocconf', source_prefix='C:\\Users\\matt\\Anaconda3\\pkgs\\qt-5.6.2-vc14_4', source_short_path='Library/doc/global/config.qdocconf', link_type=<LinkType.hardlink: 1>, _execute_successful=False)
DEBUG conda.core.link:_verify_individual_level(192): NoneType: None

我尝试conda install qt时遇到同样的错误。所以这个特定包装必定有问题。我试图做的就是在我的新环境中安装jupyter ......或者我应该manually create the kernal for my environment?

1 个答案:

答案 0 :(得分:1)

如果您只是想让Jupyter使用新的conda环境变得容易,我建议使用nb_conda conda包。在root环境中安装它,您应该能够通过Jupyter中的内核下拉列表访问其他环境。

https://docs.continuum.io/anaconda/user-guide/tasks/use-jupyter-notebook-extensions