Reputation: 21
I am trying to reinstall anaconda 64 bit on Windows 7 to use Python 3.6 and the installations works right till the end but it fails executing the post install script with following error.
However, if I check the Lib
folder in the Anaconda3
folder, I see the files _nsis.py
and subprocess.py
which the installer says are missing.
Ignoring the error results in no Anaconda navigator in the start menu but the Anaconda prompt is available for some reason.
I tried installing Miniconda too but am facing the same issue. Below is the error snapshot
Upvotes: 1
Views: 1458
Reputation: 335
I identified the reason behind the problem from this github issue, which is summarized as follows:
subprocess.py is trying to create the process to run post_install.bat from the command line interpreter (cmd.exe). In order to execute the command, the program has to find the full path of cmd.exe from the system variable called ComSpec. Anaconda3 will fail if the value of ComSpec is wrong.
In my case, I did the following to solve the problem:
Upvotes: 0
Reputation: 11
You can install directly from command prompt or terminal. I too was facing the same problem but then it get resolve by using pip. Make sure that you upgrade your pip version before installing jyupter notebook/ anaconda.
Upvotes: 1
Reputation: 21
I was able to resolve this issue by installing an archived version of Anaconda rather than the latest one available. Still not sure why the latest version won't install successfully.
Upvotes: 1