Python3 kernel not available in menu

hi giaz. I’m going crazy. help me please.
For no reason, in jupyter notebook, from the “new” menu, “Python 3” disappeared (see screenshot). I tried everything possible. reinstalled jupiter, kernel. And of course I tried to create a new user on the system. Today I freaked out and completely reinstalled python and conda… and still python 3 did not appear on the menu :pensive:

> jupyter kernelspec list
Available kernels:
msudev C:\Users\1\AppData\Roaming\jupyter\kernels\msudev
python3 C:\Users\1\AppData\Roaming\jupyter\kernels\python3

> jupyter troubleshoot

$PATH:
C:\ProgramData\Anaconda3\envs\msudev
C:\ProgramData\Anaconda3\envs\msudev\Library\mingw-w64\bin
C:\ProgramData\Anaconda3\envs\msudev\Library\usr\bin
C:\ProgramData\Anaconda3\envs\msudev\Library\bin
C:\ProgramData\Anaconda3\envs\msudev\Scripts
C:\ProgramData\Anaconda3\envs\msudev\bin
C:\ProgramData\Anaconda3\condabin
C:\Program Files\Python38\Scripts
C:\Program Files\Python38
C:\Program Files (x86)\Embarcadero\Studio\20.0\bin
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl
C:\Program Files (x86)\Embarcadero\Studio\20.0\bin64
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl
C:\Users\Public\Documents\Embarcadero\Studio\18.0\Bpl
C:\Users\Public\Documents\RAD Studio\10.0\Bpl
C:\Program Files (x86)\Intel\iCLS Client
C:\Program Files\Intel\iCLS Client
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL
C:\Program Files\Intel\Intel® Management Engine Components\DAL
C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT
C:\Program Files\Intel\Intel® Management Engine Components\IPT
C:\Program Files\Intel\WiFi\bin
C:\Program Files\Common Files\Intel\WirelessCommon
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0
C:\Program Files (x86)\Windows Live\Shared
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Program Files\PuTTY
C:\Program Files\Git\cmd
C:\Program Files\nodejs
C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit
C:\Program Files\dotnet
C:\Program Files\Microsoft SQL Server\130\Tools\Binn
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn
C:\ProgramData\chocolatey\bin
C:\Program Files\Java\apache-ant-1.10.7\bin
C:\Program Files\Java\jdk1.6.0_18\jre\bin
C:\Program Files\Java\jdk1.8.0_60\bin
C:\Program Files\Java\jdk1.8.0_60\jre\bin
C:\Users\1\AppData\Roaming\npm

sys.path:
C:\ProgramData\Anaconda3\envs\msudev\Scripts
C:\ProgramData\Anaconda3\envs\msudev\python38.zip
C:\ProgramData\Anaconda3\envs\msudev\DLLs
C:\ProgramData\Anaconda3\envs\msudev\lib
C:\ProgramData\Anaconda3\envs\msudev
C:\ProgramData\Anaconda3\envs\msudev\lib\site-packages
C:\ProgramData\Anaconda3\envs\msudev\lib\site-packages\win32
C:\ProgramData\Anaconda3\envs\msudev\lib\site-packages\win32\lib
C:\ProgramData\Anaconda3\envs\msudev\lib\site-packages\Pythonwin

sys.executable:
C:\ProgramData\Anaconda3\envs\msudev\python.exe

sys.version:
3.8.1 (default, Mar 2 2020, 13:06:26) [MSC v.1916 64 bit (AMD64)]

platform.platform():
Windows-10-10.0.18362-SP0

where jupyter:
C:\ProgramData\Anaconda3\envs\msudev\Scripts\jupyter.exe

pip list:
Package Version
------------------ -------------------
attrs 19.3.0
backcall 0.1.0
bleach 3.1.3
certifi 2019.11.28
colorama 0.4.3
decorator 4.4.2
defusedxml 0.6.0
entrypoints 0.3
importlib-metadata 1.5.0
ipykernel 5.1.4
ipython 7.13.0
ipython-genutils 0.2.0
jedi 0.16.0
Jinja2 2.11.1
jsonschema 3.2.0
jupyter-client 6.0.0
jupyter-core 4.6.3
MarkupSafe 1.1.1
mistune 0.8.4
nbconvert 5.6.1
nbformat 5.0.4
notebook 6.0.3
pandocfilters 1.4.2
parso 0.6.2
pickleshare 0.7.5
pip 20.0.2
prometheus-client 0.7.1
prompt-toolkit 3.0.4
Pygments 2.6.1
pyrsistent 0.15.7
python-dateutil 2.8.1
pywin32 227
pywinpty 0.5.7
pyzmq 19.0.0
Send2Trash 1.5.0
setuptools 46.0.0.post20200309
six 1.14.0
terminado 0.8.3
testpath 0.4.4
tornado 6.0.4
traitlets 4.3.3
wcwidth 0.1.8
webencodings 0.5.1
wheel 0.34.2
wincertstore 0.2
zipp 3.1.0

DId you figure it out @Arshehremen?

I’d guess you have some corrupt config somewhere and I wouldn’t like to guess, but if you have not already I recommend you try manually installing your python kernel

python -m ipykernel install

Thanks for the answer. my problem was in the environment settings. I forgot about the “JUPYTER_GATEWAY_URL” setting. Since my ip was changed, my gateway was unavailable.

please explain i face this problem


1st image is my current jupyter notebook

2nd jupyter interface i need


i need this interface

You are using the latest Jupyter Notebook 7+ in your first screenshot. If that doesn’t mean anything to you, then see the bottom half of my post here.

You are looking for NbClassic then. And so you’ll want to start with the top of my post there.

Minor: This may seem like it is related to this post from 2020, however, I don’t think it is. It would have been best elsewhere, such as here or here or here.