“Exit code: 1” in anaconda navigator after reinstalling anaconda

We Are Going To Discuss About “Exit code: 1” in anaconda navigator after reinstalling anaconda. So lets Start this Python Article.

“Exit code: 1” in anaconda navigator after reinstalling anaconda

  1. How to solve “Exit code: 1” in anaconda navigator after reinstalling anaconda

    Spent a few hours on this :
    You need to run this in command prompt –> conda install ipykernel --update-deps --force-reinstall
    There are 2 Errors popped for me for you it may be something else:
    Wrong System-path[in my case –> C:/Windows/System32 and C:/Windows/System] PATH in Env. variables
    If you get chcp error in command prompt then add [ Value : chcp 1252 Name : Autorun ] for Computer\HKEY_CURRENT_USER\Software\Microsoft\Command Processor in regedit.

  2. “Exit code: 1” in anaconda navigator after reinstalling anaconda

    Spent a few hours on this :
    You need to run this in command prompt –> conda install ipykernel --update-deps --force-reinstall
    There are 2 Errors popped for me for you it may be something else:
    Wrong System-path[in my case –> C:/Windows/System32 and C:/Windows/System] PATH in Env. variables
    If you get chcp error in command prompt then add [ Value : chcp 1252 Name : Autorun ] for Computer\HKEY_CURRENT_USER\Software\Microsoft\Command Processor in regedit.

Solution 1

Spent a few hours on this :

You need to run this in command prompt –> conda install ipykernel --update-deps --force-reinstall

There are 2 Errors popped for me for you it may be something else:

  1. Wrong System-path[in my case –> C:/Windows/System32 and C:/Windows/System] PATH in Env. variables
  2. If you get chcp error in command prompt then add [ Value : chcp 1252 Name : Autorun ] for Computer\HKEY_CURRENT_USER\Software\Microsoft\Command Processor in regedit.

Original Author Lurn Data Science Vaibhav Of This Content

Solution 2

I tried the above solution without success. Ran the code in an Anaconda terminal.

Here are the steps I took:

Steps I took:
(1) Uninstalled and reinstalled the individual edition (non-admin)
(2) Received a message Successfully installed
(3) Open Anaconda Navigator successfully
(4) Clicked on Juypter Launch Button
(5) Received a popup box that states Application Launch Error, Application notebook launch may have produced errors, Exit Code: 1.

Additional Information:
I am running on Windows 11.

Any help and would greatly appreciate.

Original Author Kelly_McC Of This Content

Solution 3

After lot of fiddling around, I found out a solution for the issue in local machine. Somehow system path variables were deleted. I added following entries for system path variables and reinstalled anaconda and everything works fine! C:\Windows\System32;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

Refer : ‘chcp’ is not recognized as an internal or external command, operable program or batch file. on a Windows PC

Original Author RP. Of This Content

Solution 4

I was getting the same error.

I added below under Environment Variables ,

C:/Windows/System32
C:/Python310 (Python installed here in my case)

Also I checked the Registry and I don’t find any Autorun which is recommended to delete.

It didn’t worked for me after adding the above. Then I restarted the machine it worked without any issues.

Original Author Divyanshu mehta Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment