1

After reinstalling Anaconda, I get the error message "Exit code: 1" when I start apps using the Anaconda Navigator. e.g. "jupyter notebook" or "CMD.exe"

Exit code: 1

When I use the CMD (base) via Env. or start from the windows start bar, it works. Jupyter also runs when I start it directly from the start bar.

This works

I only get the error message in the Anaconda navigator. I uninstalled Visual Studio. Still does not work.

Mr J
  • 61
  • 1
  • 6
  • Facing similar issue inPython 3.9 • 64-Bit Graphical Installer , tried uninstall/ removed all the temporary files. still facing the similar issue – RP. Nov 27 '21 at 13:55
  • I also installed it several times. I also tried to delete all temporary files. I think it's a problem in the anaconda navigator. The anaconda version of j-notebook and CMD basically work. (e.g. start bar) – Mr J Nov 27 '21 at 14:29
  • Did you find anything? @RP. – Vaibhav Kadam Jan 02 '22 at 22:24

4 Answers4

2

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.
Vaibhav Kadam
  • 642
  • 1
  • 5
  • 19
0

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.

0

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

RP.
  • 719
  • 2
  • 13
  • 29
0

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.

Divyanshu mehta
  • 289
  • 4
  • 8