adv510
adv510

Reputation: 63

Error while installing JupyterLab with pip Windows

I face the below error while trying to install package dependencies for JupyterLab via pip.

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'  

EDIT : All these packages have dependencies on Jedi, and I'm unable to install Jedi. Can someone help how I can remove this SSL hostname error?

Upvotes: 2

Views: 1734

Answers (2)

Itxel Zavala
Itxel Zavala

Reputation: 99

When you are installing Python is important to "Disable path length limit" , and that it's!

enter image description here

Upvotes: 0

adv510
adv510

Reputation: 63

The issue was with the pathname being too long. Uninstalled and reinstalled python, removed restriction on path variable length. And done, solved.

Upvotes: 2

Related Questions