Yesterday, needed to make a jupyter notebook for the first time in a long time - but found that jupyter wasn’t working in my (old) 3.8 installation. It had an old path for python.exe which may have had to do with my moving python from one disk to another.
Couldn’t figure out how to change this directly (which is my question). Instead what I did was as follows. First, installed the latest, 3.11.5. However, that didn’t create a Scripts directory (known Windows problem apparently). Created it by hand. The installer still wouldn’t populate pip.exe (or anything else) into Scripts. All that then worked was to rerun the installer a second and third time, first turning off pip, then turning it back on.
So finally I was able to get pip and do a pip install jupyter which did, finally, populate the ju* files into Scripts and I was able to run jupyter.
Where might the correct path for python for jupyter be stored (note that python itself ran fine all the time)? I checked Windows PATH and so on and didn’t find anything.