Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launching jupyter i get kernel error #2301

Closed
abdolrhman opened this issue Mar 16, 2017 · 64 comments
Closed

launching jupyter i get kernel error #2301

abdolrhman opened this issue Mar 16, 2017 · 64 comments

Comments

@abdolrhman
Copy link

abdolrhman commented Mar 16, 2017

hey guys, i have this problem when i try to launch jupyter , the i got kernel error in the top right corner ,
i do tried to make python 2 kernel in jupyter so i followed some toturials about make environments then things start to get missy and errors showed up so i deleted them (envs) and kernel error is ON .
and when i click it i got this :

Traceback (most recent call last):
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\base\handlers.py", line 503, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 75, in post
type=mtype))
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 285, in wrapper
yielded = next(result)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 243, in start_kernel
**kw)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 189, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\launcher.py", line 123, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\NasrAlDin\Anaconda3\lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "C:\Users\NasrAlDin\Anaconda3\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

thanks in advance and please help me , i reinstalled anacodna btw and still same error .

@abdolrhman
Copy link
Author

@takluyver

@abdolrhman
Copy link
Author

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

@takluyver
Copy link
Member

Yup, that's what I would have suggested. Thanks for working it out yourself!

For other people who might read this: you can see kernelspecs (which may contain references to deleted envs) by running:

jupyter kernelspec list

@takluyver takluyver added this to the No Action milestone Mar 16, 2017
@abdolrhman
Copy link
Author

brother @takluyver can you give me a complete steps to install python 2 kernel in notebook beside the python 3 , because the start of the problem got from doing wrong steps , thank you very much and by the way , my solution brought up from YOU , so thank you very much :)

@takluyver
Copy link
Member

Have a look at the instructions here:
http://ipython.readthedocs.io/en/stable/install/kernel_install.html#kernels-for-python-2-and-3

@paulmattheww
Copy link

paulmattheww commented Apr 11, 2018

I know you closed this, but I've tried literally all day (and all recommendations on all the threads I could find).

Kernels:

Available kernels:
  ir         C:\Users\pmwash\AppData\Roaming\jupyter\kernels\ir
  python3    C:\Users\pmwash\AppData\Roaming\jupyter\kernels\python3

The kernel error is:
FileNotFoundError: [WinError 2] The system cannot find the file specified

I even uninstalled all Anaconda distributions and Python distributions, re-installed them, and still same issue. At a loss at this point. Any guidance? Thanks in advance!

@takluyver
Copy link
Member

Try deleting that kernelspec path (the python3 one, assuming that's what is failing to launch). It should fall back on running the kernel in the same Python as the notebook server.

@paulmattheww
Copy link

Thank you that worked. Now I need to reinstall all the libraries. Appreciated.

@Pratimhajra
Copy link

How to delete kernelspec path

@takluyver
Copy link
Member

Find the path using jupyter kernelspec list. Then you can navigate to that in your file manager and delete it, or do it from the terminal (rm -r path/to/directory on Unix; if you're on Windows, you'll have to look it up)

@peoplecure
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

Thank you : )

@devkrish23
Copy link

That worked for me @abdolrhman you're a wizard !

@stephaniemdavis
Copy link

@abdolrhman @takluyver : you solved my problem (error log attached).
kernel_error_log.txt

@stephaniemdavis
Copy link

@peoplecure - The problem source as you define it seems to undermine the benefits of creating sandbox environments. Don't know why deleting one environment would affect the kernel operation.

@marcobonifacio
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

Thank you, it worked for me.

@ghost
Copy link

ghost commented Nov 10, 2018

Problem persists for me

$ jupyter kernelspec list
Available kernels:
python3 /home/miracode2033/anaconda3/share/jupyter/kernels/python3
$ rm -r /home/miracode2033/anaconda3/share/jupyter/kernels/python3
$ jupyter kernelspec list
Available kernels:
python3 /home/miracode2033/anaconda3/lib/python3.6/site-packages/ipykernel/resources
$ python -m ipykernel install --user
Installed kernelspec python3 in /home/miracode2033/.local/share/jupyter/kernels/python3
$

@bohlinz
Copy link

bohlinz commented Dec 14, 2018

Thanks! I also get this problem for my envs. The cmd solve the problem and Kernal work now.

@Sivananda-Panda
Copy link

I am getting error as
ImportError: cannot import name 'create_prompt_application'.
please suggest

@wesinator
Copy link

@Tata17
Copy link

Tata17 commented Feb 27, 2019

Thank you so much! it worked!!

@aitorme
Copy link

aitorme commented Mar 15, 2019

thanks @abdolrhman it really worked just fine! My kernel when running python3 was pointing to this error from Anaconda in Python2, so I was confused at the beginning, but it did work :D

@SKINPO-82
Copy link

SKINPO-82 commented Jan 23, 2020 via email

@DineshGon
Copy link

if you are still facing the kernel issue. Type these in your Anaconda prompt.
python -m ipykernel install --user

@shailesh8604
Copy link

simply jupyter notebook run as administrator

@YingxiaoKong
Copy link

I know you closed this, but I've tried literally all day (and all recommendations on all the threads I could find).

Kernels:

Available kernels:
  ir         C:\Users\pmwash\AppData\Roaming\jupyter\kernels\ir
  python3    C:\Users\pmwash\AppData\Roaming\jupyter\kernels\python3

The kernel error is:
FileNotFoundError: [WinError 2] The system cannot find the file specified

I even uninstalled all Anaconda distributions and Python distributions, re-installed them, and still same issue. At a loss at this point. Any guidance? Thanks in advance!

I'm just curious how to delete all the anaconda distributions? As I have re-installed Anaconda several times, seems a lot of previous files are still there.

@JunaidIQ
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

thanks this worked for me, straight and easy solution.

@tamittal471
Copy link

I know you closed this, but I've tried literally all day (and all recommendations on all the threads I could find).
Kernels:

Available kernels:
  ir         C:\Users\pmwash\AppData\Roaming\jupyter\kernels\ir
  python3    C:\Users\pmwash\AppData\Roaming\jupyter\kernels\python3

The kernel error is:
FileNotFoundError: [WinError 2] The system cannot find the file specified
I even uninstalled all Anaconda distributions and Python distributions, re-installed them, and still same issue. At a loss at this point. Any guidance? Thanks in advance!

I'm just curious how to delete all the anaconda distributions? As I have re-installed Anaconda several times, seems a lot of previous files are still there.

Open anaconda Prompt in Administrator mode and run the command
python -m ipykernel install --user

Worked like a charm

@OpeyemiOsakuade
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

Thanks for this

@iamharshbit
Copy link

iamharshbit commented Jul 4, 2020

Traceback (most recent call last):
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\web.py", line 1592, in _execute
result = yield result
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1133, in run
value = future.result()
File "C:\Users\Harsh.conda\envs\tensorflow\lib\asyncio\futures.py", line 294, in result
raise self._exception
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\notebook\services\sessions\handlers.py", line 73, in post
type=mtype))
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1133, in run
value = future.result()
File "C:\Users\Harsh.conda\envs\tensorflow\lib\asyncio\futures.py", line 294, in result
raise self._exception
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1133, in run
value = future.result()
File "C:\Users\Harsh.conda\envs\tensorflow\lib\asyncio\futures.py", line 294, in result
raise self._exception
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1141, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 1133, in run
value = future.result()
File "C:\Users\Harsh.conda\envs\tensorflow\lib\asyncio\futures.py", line 294, in result
raise self._exception
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\tornado\gen.py", line 326, in wrapper
yielded = next(result)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 160, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\jupyter_client\connect.py", line 547, in write_connection_file
kernel_name=self.kernel_name
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\Harsh.conda\envs\tensorflow\lib\contextlib.py", line 59, in enter
return next(self.gen)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\jupyter_client\connect.py", line 100, in secure_write
win32_restrict_file_to_user(fname)
File "C:\Users\Harsh.conda\envs\tensorflow\lib\site-packages\jupyter_client\connect.py", line 53, in win32_restrict_file_to_user
import win32api
ImportError: No module named 'win32api'

If anyone can help

@reginalluna
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

this works for me! thx

@guilhermesd
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

Thank you, it worked for me.

Work for me too. Thank you

@rudolferemyan
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

Worked for me.. Thanks a lot

@Musk33
Copy link

Musk33 commented Sep 13, 2020

uninstall all package and folder of python + remove envirnment then install anaconda ! its work for me

@Akshayrmkl
Copy link

For me ,I did below steps from several opinions
1.Upgraded conda
$ conda update -n base -c default conda
2.Created new environment
$ conda create -n myenv python=3.8.5 jupyter
here I had verified that my installed python version is 3.8.5.

@colehl
Copy link

colehl commented Nov 1, 2020

Hi, I installed anaconda and have been using python3 fine. Then, I tried to install Julia so I could use it too. However, I get a kernel error when I open a jupyter notebook. As suggested way above, I tried from the terminal:
jupyter kernelspec list
Available kernels:
julia-1.5 /Users/colehl/Library/Jupyter/kernels/julia-1.5
python3 /Users/colehl/opt/anaconda3/share/jupyter/kernels/python3

The paths are clearly different here. Is that the problem? What should I do to fix this?

@kevin-bates
Copy link
Member

Hi @colehl. The paths look okay. Kernels are found in different locations, but generally following the output of jupyter --paths relative to the data: locations.

I get a kernel error when I open a jupyter notebook.

What is the complete error you see (in the notebook and console window (if different))?

Do you know if you're using nb_conda_kernels?

@colehl
Copy link

colehl commented Nov 2, 2020 via email

@meeseeksmachine
Copy link

This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:

https://discourse.jupyter.org/t/cannot-use-jupyter-uncaught-exception-post-please-help/7205/1

@RcrdPhysics
Copy link

i found the soultion , the problem was , i made an environments then i deleted them , there were refrences for those envs ,
soultion : used this in cmd : python -m ipykernel install --user

It works! Thank you so much

@Nephys222
Copy link

Thanks. It worked for displaced envs.

@shrikantpardhi
Copy link

Traceback (most recent call last):
File "F:\Anaconda\lib\site-packages\tornado\web.py", line 1699, in _execute
result = await result
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "F:\Anaconda\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
type=mtype))
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "F:\Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "F:\Anaconda\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "F:\Anaconda\lib\site-packages\tornado\gen.py", line 209, in wrapper
yielded = next(result)
File "F:\Anaconda\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "F:\Anaconda\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "F:\Anaconda\lib\site-packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "F:\Anaconda\lib\site-packages\jupyter_client\connect.py", line 547, in write_connection_file
kernel_name=self.kernel_name
File "F:\Anaconda\lib\site-packages\jupyter_client\connect.py", line 212, in write_connection_file
with secure_write(fname) as f:
File "F:\Anaconda\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "F:\Anaconda\lib\site-packages\jupyter_client\connect.py", line 102, in secure_write
with os.fdopen(os.open(fname, open_flag, 0o600), mode) as f:
PermissionError: [Errno 13] Permission denied: 'C:\Users\shri\AppData\Roaming\jupyter\runtime\kernel-472eca6d-8dad-4bd2-83e3-4b0c7c7fbcc1.json'

@kevin-bates
Copy link
Member

@shrikantpardhi - please see #5631 (comment)

@reni-on-the-moon
Copy link

reni-on-the-moon commented Jun 8, 2021

Try deleting that kernelspec path (the python3 one, assuming that's what is failing to launch). It should fall back on running the kernel in the same Python as the notebook server.

How to delete the kernelspec path? I deleted it, but he moved to another path. And when I deleted another path, he is still there. Although the path does not exist now.

@aitorme
Copy link

aitorme commented Jun 8, 2021

Try deleting that kernelspec path (the python3 one, assuming that's what is failing to launch). It should fall back on running the kernel in the same Python as the notebook server.

How to delete the kernelspec path? I deleted it, but he moved to another path. And when I deleted another path, he is still there. Although the path does not exist now.

did you check if you just deleted a symlink instead of the actual path? Are you working with a virtual environment or using the native Python?

@coderanandmaurya
Copy link

hey guys, i have this problem when i try to launch jupyter , the i got kernel error in the top right corner ,
i do tried to make python 2 kernel in jupyter so i followed some toturials about make environments then things start to get missy and errors showed up so i deleted them (envs) and kernel error is ON .
and when i click it i got this :

Traceback (most recent call last):
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\base\handlers.py", line 503, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 75, in post
type=mtype))
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 79, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1021, in run
yielded = self.gen.throw(*exc_info)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 92, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 1015, in run
value = future.result()
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\tornado\gen.py", line 285, in wrapper
yielded = next(result)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 87, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 243, in start_kernel
**kw)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\manager.py", line 189, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "C:\Users\NasrAlDin\Anaconda3\lib\site-packages\jupyter_client\launcher.py", line 123, in launch_kernel
proc = Popen(cmd, **kwargs)
File "C:\Users\NasrAlDin\Anaconda3\lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "C:\Users\NasrAlDin\Anaconda3\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

thanks in advance and please help me , i reinstalled anacodna btw and still same error .

  1. uninstall all previous python version from system
  2. uninstall anaconda
  3. reinstall anaconda

@laxmi-agarwal
Copy link

uninstall all package and folder of python + remove envirnment then install anaconda ! its work for me

how did you remove environment and unstill all package and folder of python? Can you please specify in steps?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests