简体   繁体   中英

Why isn't Anaconda for Windows Installing Properly?

Anaconda 2 and 3 are installing without errors. I reboot because the installer prompts me to do so. When I open the Anaconda Prompt , python , pythonw or activate.bat aren't found. Looking in the Anaconda[2|3] folder, I can't find expected .exe and .bat files. What's going wrong?

I also notice that conda update --all wants to update many libs and eventually errors out.

Anaconda installs and updates can silently fail due to conflicts with 3rd party antivirus (for me it's WebRoot ) programs. An indicator of Anaconda antivirus conflicts is missing .exe and .bat files, and sometimes requests to reboot. The fix is to shutdown the antivirus program and reinstall Anaconda . I suspect Anaconda isn't following correct Windows installer procedures as it's the only installer than conflicts with WebRoot.

Inspired from : https://github.com/ContinuumIO/anaconda-issues/issues/732#issuecomment-

  1. ****** UNINSTALL ALL PYTHON INSTALLATIONS, OTHERWISE THEY WILL GET MESSED UP AND YOU CANNOT CLEANLY UNINSTALL THEM WITHOUT WINDOWS RESTORE, or at least I think these two problems were related *****
    1. Install Miniconda
    2. As Admin open CMD and change to directory where Miniconda is installed
    3. pythonw.exe -E -s "Lib_nsis.py" addpath
    4. pythonw.exe -E -s "Lib_nsis.py" mkdirs
    5. pythonw.exe -E -s "Lib_nsis.py" mkmenus
    6. run conda init to start the environment. Then exit that CMD
    7. I then ran Anaconda prompt from start menu, but you likely can use CMD note) if you run "conda list", you will see no packages installed, but good news is conda will install pacakges, so:
    8. conda install numpy note) this will install conda! lol
    9. conda install anaconda

INSTALL IT IN A EXTERNAL DISK! I had a hard time tryig to install anaconda, because it was never complete, always missing anaconda navigator and the prompt. And after a cicle of install/unistall adopting different approaches, the only thing that made anaconda finally work properly in my computer was installing it in a exterior disk (or a pen drive).It just solved my problems, so give it a try!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM