Open david-waterworth opened 6 years ago
Make sure you don't have both paths in your %PATH% to prevent messing up the system, there should be only one Scripts folder on your system (or virtual env). Did you install Python twice?
However, the jupyer.exe will be created in the active scripts folder by force reinstalling it:
pip install jupyter --force-reinstall
I found a similar issue, .. in Win10, .. although I mistakenly did a pip install as 'normal user' and everything ended up in
C:\Users\
Windows 10 , Version 1909, OS build 18363.1198 After installation using following command as administrator
pip3 install notebook
Cannot start
jupyter notebook
Found missing jupyter.exe in Python38\Scripts (seems everything but jupyter.exe)
C:\windows\system32>dir "\Program Files\Python38\Scripts" Volume in drive C is Windows Volume Serial Number is 640B-C07A
Directory of C:\Program Files\Python38\Scripts
19/11/2020 03:58 PM
notebook will successfully run if I use command
jupyter-notebook
C:\windows\system32>jupyter-notebook --version 6.1.5
Searching my harddisk I found I did have a jupyter.exe on the roaming directory above. (left over from the normal user install ?)
Copying that to C:\Program Files\Python38\Scripts I could run jupyter normally
with the copied version of jupyter.exe in correct location.
C:\Program Files\Python38\Scripts>jupyter --version jupyter core : 4.7.0 jupyter-notebook : 6.1.5 qtconsole : 4.7.7 ipython : 7.19.0 ipykernel : 5.3.4 jupyter client : 6.1.7 jupyter lab : 2.2.9 nbconvert : 6.0.7 ipywidgets : 7.5.1 nbformat : 5.0.8 traitlets : 5.0.5
C:\Program Files\Python38\Scripts>path PATH=C:\Program Files\Python38\Scripts\;C:\Program Files\Python38\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Users\stgeorge\AppData\Local\Microsoft\WindowsApps;
After running
> python -m pip install jupyter
I was unable to run
> jupyer notebook
as per the instructions. I did some searching, my python environment has the following scripts folder which was added to the path at install
C:\Users\user\AppData\**Local**\Programs\Python\Python37\Scripts\
where 'user' is my windows username, however for some reason jupyter.exe installed in
C:\Users\user\AppData\**Roaming**\Python\Python37\Scripts
Adding this to the path fixed the issue (also fixed vscode integration). Not sure if I've screwed up my install, or jupyter isn't correctly identifying the installation type?
Edit: to be clear, I'm running python 3.7 x64 on windows 10