Reputation: 59
I just installed Jupyter Lab and I got this warning about the PATH. This directory is very messy - C:\Users\USERNAME\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts. Why such a long path and is this going to cause problems due to limits in the number of characters in a path name
And should I be adding this directory to the path?
WARNING: The scripts jlpm.exe, jupyter-lab.exe, jupyter-labextension.exe and jupyter-labhub.exe are installed in 'C:\Users\USERNAME\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Installed Jupyter Labs in Windows 10
Upvotes: 2
Views: 587
Reputation: 5734
According to the comments (including my own). The reason for the long path name is due to the user selection at the time of installation.
It was suggested in the final comment (by @Ry-) that this particular installation is the windows store install default path.
I have always installed directly from the official https://www.python.org website which offers a one click installation and the default path there is C:\Users\admin\AppData\Local\Programs\Python
, which is much more concise.
Upvotes: 0