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

后端 未结 9 1953
无人及你
无人及你 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 04:43

    I had the same issue and solved it like this:

    1. Open a command prompt (cmd.exe)
    2. Execute these commands to reset two environment variables:

      set PYTHONPATH= set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

    3. Start the installer (from within the same command prompt).

    4. Now the installation will succeed!

    Tip: if 'Anaconda Prompt' in the start menu isn't working afterwards, use this workaround: C:\Users\\AppData\Local\Continuum\anaconda3\Scripts\activate.bat C:\Users\\AppData\Local\Continuum\anaconda3

提交回复
热议问题