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

后端 未结 9 1801
无人及你
无人及你 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:42

    I think the problem will be solved by clearing all dependencies.
    I initially had python installed, 2.7 and 3.6. I just get rid of all of them. The problem is not solved yet.

    I discovered that My MySQL server is running. I just closed it but it did not work. I just uninstalled it completely and The problem is solved.
    Anaconda needs to listen to , I think 8888 port, which might be used also by MySQL server as well.

    I hope this will help.

    0 讨论(0)
  • 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\<username>\AppData\Local\Continuum\anaconda3\Scripts\activate.bat C:\Users\<username>\AppData\Local\Continuum\anaconda3

    0 讨论(0)
  • 2020-12-31 04:46

    I uninstalled any previous versions.Restarted system and installed Anaconda again at path C:\Users\xyzuser\Anaconda.It is working now

    0 讨论(0)
  • 2020-12-31 04:47

    I solved it

    If you install other python directories or install anaconda on your drive. remove them all

    and visit to C:\Users\<username> and you can find this babies

    .anaconda

    .conda

    Kill them all, reinstall anaconda.

    Now it works well.

    0 讨论(0)
  • 2020-12-31 04:51

    I solved it with:
    0. Rename/delete previous Anaconda3 directory (at c:\ProgramData\Anac...)
     (show/check hidden items at File Manager to delete it)
    1. Re-install Anaconda
    2. At Advanced Installation Options, I check both:
      2.1. [check] Add Anaconda to my PATH environment variable
      2.2. [check] Register Anaconda as my default Python 3.6
    3. then click Install button
    4. Done

    my OS: windows 10, 64bit

    0 讨论(0)
  • 2020-12-31 04:56

    When you installing Anaconda3 on Windows 10 and the Anaconda Navigator menu item does not install, and running the Anaconda Prompt gives the activate.bat error.

    1. Delete all instances of the previous python IDEs
    2. Reveal hidden files within the control menu
    3. Go to -> C:\Users[Username] in windows explorer
    4. Delete the files .conda and .anaconda. Possibly others if you had other IDEs.
    5. Go to -> C:\Users[Username]\AppData\Local
    6. Delete all python related files conda, python, ect.. any instances other python IDEs
    7. Go to -> C:\Users[Username]\AppData\Roaming
    8. Delete all python related files conda, python, ect.. any instances other python IDEs
    9. Run the Anaconda installer as Admin and install in a directory such as C:\anaconda3
    10. Sit back and wonder why an install took 4 hours out of my life and start drinking.

    At some point I felt like this was a test for the uninitiated... can I start coding now?

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