添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am having trouble getting the Anaconda distribution to function properly on my Windows 10 computer (64 bit).

I downloaded the 64 bit graphical installer for Python 3.7. I installed Anaconda for all users and it lives in this path:

C:\ProgramData\Anaconda3

(I also tried to install for “just my user” but it didn’t help.)

The issue is my computer does not recognize Anaconda. When I open my command prompt and enter in “conda” , “jupyter notebook”, or “python” - I get an error message below:

'conda/jupyter/python' is not recognized as an internal or external command, operable program or batch file.

I uninstalled and reinstalled and selected the checkbox during the setup wizard to “add Anaconda to my PATH environment variable” and I still received the same error message when using the command prompt to locate Anaconda.

I then manually attempted to add the following paths to my PATH environment variable (for both user and system variables):

C:\ProgramData\Anaconda3
C:\ProgramData\Anaconda3\Scripts
C:\ProgramData\Anaconda3\Library\bin

That still did not work. I restarted my computer and tried it again - did not work.

I also cannot use Anaconda Prompt or Anaconda Navigator. I understand that they are supposed to be available through the start menu after installation, but they are not. I have also tried to locate them through the Command Prompt but they are not there either.

Overall, I have restarted my computer and reinstalled Anaconda numerous times and nothing has worked. I’m not sure what to do next.

I do not. I previously installed Python by itself on my computer but I uninstalled it and deleted all of the files and folders. – kev8 Jul 29, 2019 at 13:47 Have you searched for Anaconda Prompt in the start menu? Just type "Anaconda" in the search box in the taskbar. – GZ0 Jul 29, 2019 at 15:08 python.exe should be in C:\ProgramData\Anaconda3 and conda.exe in C:\ProgramData\Anaconda3\Scripts. Did you really still get 'not found'? The Anaconda Prompt link just calls 'conda activate C:\ProgramData\Anaconda3' or 'activate c:\ProgramData\Anaconda3' (also in Scripts) so you could try running that once you've managed to find it, or activate some other virtual environment once you've created one. – Rup Jul 29, 2019 at 15:08 After this you can update the installation using anaconda.com/keeping-anaconda-date + docs.anaconda.com/anaconda/install/update-version – eduardohl Jan 30, 2020 at 3:02 I attempted this solution and it did not work. I used that command above and then used "which_conda". I received the same error message as above: 'which_conda' is not recognized as an internal or external command, operable program or batch file. – kev8 Jul 29, 2019 at 15:16 I'm fairly sure it's conda, not _conda, and you'll find the exe in Scripts not in the installation root. which is for git bash prompts: the normal command prompt version is where. – Rup Jul 29, 2019 at 15:17 @Rup That's what I was thinking too but I wanted to try out which in case I haven't heard of it before. I've used where conda before and just tried it again now, but it still cannot locate it. – kev8 Jul 29, 2019 at 15:26 which/where will only find it if it's already in your path, though - the idea is to show you which one you're actually calling when you type the command name. They won't locate files not in your path. – Rup Jul 29, 2019 at 15:27 Appreciations for your intent. Please read stackoverflow.com/help/how-to-answer and edit your answer – Bussller Aug 19, 2020 at 5:50

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.