ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

Windows 10 5.0.1 install gets stuck at "Anaconda3\pkgs\.install.py" #7587

Open markwhat1 opened 6 years ago

markwhat1 commented 6 years ago

I have tried 10 times to install, uninstall, and reinstall Anaconda3 version 5.0.1 on Windows 64bit. The installer runs just fine until the installer says "extraction complete." before stalling on this command:

"C:\Anaconda3\tE505.tmp\pythonw.exe" -E -s "C:\Anaconda3\pkgs\.install.py"

If I exit pythonw.exe from Task Manager, the installation quickly runs through the final commands and the installation is left incomplete. How can I get it to run this script?

I am attempting to reinstall after having version 4.4.0 installed, having problems and uninstalling it to upgrade. Attempting to install for all users. Windows Defender is the only antivirus present.

nehaljwani commented 6 years ago

@markwhat1 Do you have any antivirus software installed on the machine?

markwhat1 commented 6 years ago

Only Windows Defender, would that hold it up?

nehaljwani commented 6 years ago

This is the first time I am hearing about this. Did you install it for all users or just for you?

markwhat1 commented 6 years ago

Well maybe I'm not the only one. I have tried both but my intention is to install for all users.

nehaljwani commented 6 years ago

Okay. Do you see similar behaviour with the Miniconda installer too?

markwhat1 commented 6 years ago

I haven't tried to install that but I'll give it a shot and report back.

markwhat1 commented 6 years ago

The Miniconda installer ran straight through to completion which is a bit of good news for me at least. Can I install anaconda into this python environment now and replicate the functionality of the other installer?

nehaljwani commented 6 years ago

Yes, you can just do:

conda install anaconda=5.0.1
markwhat1 commented 6 years ago

Awesome, I've got that installing then. Thanks so much for the quick help, are you concerned with the problem I was having with the Anaconda3 installer? If I can help at all with that I'll certainly do my best to do so.

nehaljwani commented 6 years ago

Well, the logic for creating both the installers is same. It's just that the Anaconda installer has more packages. I wonder if it could be stuck for a particular package. Did you have enough free space for the installation? Were you installing it on a shared drive? How long did you want for the process to finish?

markwhat1 commented 6 years ago

Yes sir, plenty of space and installing it on my main system drive. I waited several hours yesterday when I first encountered the problem before giving up on it when I saw that Task Manager had the pythonw.exe process listed as "Suspended". I'm currently waiting for anaconda to install into the Miniconda installation, it hasn't shown any updates since downloading the final anaconda-5.0.1 package. What's a reasonable time frame to allow for it to complete the install?

nehaljwani commented 6 years ago

After installation it will extract the packages and try to hard link them into the current environment. It should finish within 15 mins, after downloading all the packages. Are you seeing this behaviour only with the 5.0* installers or you never faced this with the older ones?

markwhat1 commented 6 years ago

The installation using Miniconda appears to have stalled as well as no progress has been made in the last hour and a half. I tried installing with the 4.4.0 installer earlier this morning with the same results. Previously when installed several months ago the 4.4.0 installer worked without issue.

nehaljwani commented 6 years ago

Could you try installing the packages in the anaconda meta package one by one and see on which package it gets stuck? conda info anaconda should give you the list of packages.

AmyLarson11 commented 6 years ago

I am also having the same issue where the installer is getting stuck at the install packages stage. I am installing on a Windows 7 machine.

moorepants commented 6 years ago

Same issue on a windows 10 machine for me. Happens on a non-admin install.

moorepants commented 6 years ago

The latest miniconda3 install worked for me. It didn't hang on the install.py command.

seanmac10 commented 6 years ago

Same issue.

mtowery commented 6 years ago

After installing latest miniconda3 from https://conda.io/miniconda.html the install did not hang on the install.py command. To update Anaconda Instead of: -- old version as mentioned above conda install anaconda=5.0.1 You should do: -- make sure you run as Anaconda prompt as administrator -- update to latest version conda update conda -- install anaconda conda install anaconda -- install navigator conda install anaconda-navigator -Verify conda is installed, check version number conda info

to see all packages you can view them at https://docs.anaconda.com/anaconda/packages/pkg-docs

xiaobabyh commented 5 years ago

hello,everyone,I had the same problem and I solved it finally,If you can try to end up all of your antivirus software.My problem was the Acronis antivirus software.it may works finally.

luisbonifacio commented 5 years ago

I also had this issue here, and found the same as @xiaobabyh . I deactivated the antivirus everything just worked!