Aug-18-2021, 08:46 AM
In my current setup python.exe is not added to the path. Instead I am using python launcher py.exe to launch python. Similarly I do not have pip.exe on path as well. So if I want to run
Since
For example, I want to install jupyter using pip and the instruction here: https://jupyter.org/install tells me to run
Now I need to run the
Is it possible to run
pip.exe
I use py -m pip
. Since
pip.exe
is in my <python_installation>/Scripts
folder I am under the assumption that everything in that folder can be called via python launcher py.exe.For example, I want to install jupyter using pip and the instruction here: https://jupyter.org/install tells me to run
pip install jupyterlab
. But as I am using py.exe I used py -m pip install jupyterlab
instead.Now I need to run the
jupyter-lab.exe
in the <python_installation>/Scripts
folder to start jupyter. But as the scripts folder is not in my path - similar to pip - I used the following command, py -m jupyter-lab
. But I get an error saying No module named jupyter-lab
.Is it possible to run
jupyter-lab.exe
using python launch py.exe? Is it possible to run exe file in Scripts folder without adding the folder to Path or without fully qualifying the location of exe file in the terminal?