Anaconda3 activate.bat is not recognized as an internal or external command

后端 未结 9 1802
无人及你
无人及你 2020-12-31 04:32

I have downloaded Anaconda3 for windows 64-bit operating system. After the download and install completed, I opened the Anaconda prompt but it give me this nice error:

相关标签:
9条回答
  • 2020-12-31 05:01

    I have met exactly the same problem when I was using anaconda 5.3.1 on windows10.

    Well, the solution is to uninstall your anaconda and re-install it. And when you install anaconda, you can't close the exe command window manually which would show up at the end of installing. You should let it run and exit by itself. Only by this way your anaconda would be installed correctly.

    0 讨论(0)
  • 2020-12-31 05:02

    The Fix is simple. Here's what you need to do. Go to--

    C:\Users\USERNAME\AppData\Local\Continuum\anaconda3\Scripts\
    

    *Replace USERNAME with your own***

    If you are not able to access this location, then directly search in your C drive for Continuum, and from there you can write the rest of the URL

    Search for "Activate.bat" If you are able to find this file, then go to ANACONDA PROMPT and Change your directory by typing:

    cd C:\Users\USERNAME\AppData\Local\Continuum\anaconda3\Scripts\
    

    *Replace USERNAME with your own***

    Your directory is now projecting to this new location.

    Now type:

    activate.bat
    

    Hit enter

    Now you activated your Anaconda.

    Now, you can check if it is working or not by typing

    Conda list
    
    0 讨论(0)
  • 2020-12-31 05:04

    This is a known Anaconda bug: From their Github:

    " I have fixed the underlying bug here but we will not release new Anaconda installers for a while.

    The fix is in the latest Miniconda installers:

    64-bit: https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86_64.exe

    32-bit: https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe https://repo.continuum.io/miniconda/Miniconda2-latest-Windows-x86.exe

    Install those, then run the Anaconda Prompt and install whatever packages you need. If you want the latest full Anaconda release then use:

    conda install anaconda=5.0.1"

    Check this github thread for the full answer: https://github.com/conda/conda/issues/6053

    0 讨论(0)
提交回复
热议问题