使用pip Windows安装JupyterLab时出错

时间:2020-04-07 07:26:53

标签: pip jupyter-lab

尝试通过pip为JupyterLab安装软件包依赖项时遇到以下错误。

Installing collected packages: jedi, ipython, ipykernel, notebook, jupyterlab-server, jupyterlab  
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\\Users\\<Username>\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python37\\site-packages\\jedi\\third_party\\typeshed\\third_party\\2and3\\requests\\packages\\urllib3\\packages\\ssl_match_hostname\\_implementation.pyi'  

编辑:所有这些软件包都依赖Jedi,因此我无法安装Jedi。有人可以帮我如何消除此SSL主机名错误?

2 个答案:

答案 0 :(得分:1)

问题在于路径名太长。卸载并重新安装了python,删除了对路径变量长度的限制。完成,解决。

答案 1 :(得分:0)

安装 Python 时,“禁用路径长度限制”很重要,而且很重要!

enter image description here