Dipesh Bajgain
Dipesh Bajgain

Reputation: 839

There is an instance of anaconda navigator already running error

Previously my anaconda navigator was not responding so I have rebooted my computer and now when I am trying to open anaconda navigator it pop-ups an error with "there is an instance of anaconda navigator already running".

OS: Windows 10

This is a message on pop up window

Upvotes: 37

Views: 72776

Answers (13)

Fellow_coder
Fellow_coder

Reputation: 1

Faced the same problem. This worked for me. Open CMD and Find the tasks using tasklist | findstr "pythonw" Try to kill the tasks using taskkill /pid "processid" /f (Processid is the id u got from tasklist) Switch off wifi and try to open anaconda navigator

Upvotes: 0

1.In anaconda prompt

 $ anaconda-navigator --reset
 $ anaconda-navigator

Upvotes: 7

TanuAD
TanuAD

Reputation: 786

I loaded Process Hacker software on Windows 10 and in this software, I search for pythons.exe process, right click and select Terminate. This software is freeware. I am trying to help those who don’t want to type dos command.

Upvotes: 0

berandomsen
berandomsen

Reputation: 1

For those who killed the Python processes but the GUI still doesn't show, for me the .condarc file was missing in my user folder... so I created the .condarc file and left it blank, killed the python process, then relaunched and it worked.

My issue was after installing for the first time

Upvotes: 0

Rayan Waheib
Rayan Waheib

Reputation: 1

I used these processes and it solved my problem :) open task manager > click processes on the menu > click on "pythonw" > click End process is may solve your problem

Upvotes: 0

Bharath
Bharath

Reputation: 167

[With images] The instructions Below works flawlessly in Windows 10.

  1. Run CMD (command prompt) with administrator privileges
  2. Run the following command,
tasklist | findstr "pythonw"
  1. Lastly, after identifying process ID run this command to kill the process,
taskkill /f /pid <PID NUMBER>

Happy Learning :):)

Snap of CMD in Windows 10

Upvotes: 10

Jo&#227;o Pedro Lucas
Jo&#227;o Pedro Lucas

Reputation: 11

I got the same problem on windows 10, and all the previous answers and commands to taskkill didn't work and gave me the error "Access denied".

I found out that when you turn off your computer in windows 10, by default it doesn't really turn off but instead it hibernates, so it doesn't really "kill" all the tasks running.

Therefore my solution:

  1. Go to Windows Start Menu, select _Settings > System > Power & sleep > Additional power settings > Chose what the power button does.
  2. Under Power button settings, tap the setting bar, choose the option "Shut down".
  3. Click on "Change settings that are currently unavailable", and uncheck the "Turn on fast startup" box.
  4. Click on save changes.
  5. Now Restart your computer.

This will successfully kill all running tasks, including pythonw, and hopefully solve your problem.

Upvotes: 1

Suresh
Suresh

Reputation: 69

We can use either of below options to resolve the issue.

1. tasklist | findstr "pythonw"
   tskill <pid>
2. Also we can End the task names 'Python' from Task Manager.

Now open the Anaconda Navigator again. It may take a while to open.

Upvotes: 0

Duvaragesh
Duvaragesh

Reputation: 501

I got the same error in MAC. logoff & login did not resolve the issue and the below command solved my issue in mac. Restart not required.

killall python

Upvotes: 42

T- Wrecks
T- Wrecks

Reputation: 11

The following steps worked for me in windows. You can do the following.

  1. tasklist | findstr "pythonw" The PID of the processes will get displayed.

  2. taskkill /pid "PID" (without quotes) /f

This will successfully kill the Anaconda Navigator task.

Upvotes: 1

Here is the step you can use to solve this issue quickly.

  1. Open Task Manager or use shortcut key Ctrl+Shift+Esc.
  2. Find Python process in the list.
  3. Kill those processes by clicking on it and click End task.

Then open Anaconda Navigator again.

Upvotes: -1

Rochan
Rochan

Reputation: 1542

one of the following will solve your issue in ubuntu:

killall Anaconda-Navigator 

anaconda-navigator --reset

Upvotes: 5

Zhikun Luo
Zhikun Luo

Reputation: 506

I met the same problem a few days ago. I found the anaconda navigator will start a process called pythonw. So the following is my solution:

  1. open a cmd window;
  2. use command tasklist | findstr "pythonw" to find the pid of pythonw, like 37200;
  3. use command tskill 37200 to kill the process.

By the way, my OS is Windows.

Upvotes: 49

Related Questions