I get the following error during Python 2.7 64-bit windows installation. I previously installed python 3.5 64-bit and it worked fine. But during python 2.7 installation i get this error:
Traceback (most recent call last):
File "C:\Anaconda2\Lib\_nsis.py", line 164, in <module> main()
File "C:\Anaconda2\Lib\_nsis.py", line 150, in main
mk_menus(remove=False)
File "C:\Anaconda2\Lib\_nsis.py", line 94, in mk_menus
err("Traceback:\n%s\n" % traceback.format_exc(20))
IOError: [Errno 9] Bad file descriptor
Kindly help me 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 .
Even if you already have a system Python, another Python installation from a source such as the macOS Homebrew package manager and globally installed packages from pip such as pandas and NumPy, you do not need to uninstall, remove, or change any of them before using conda.
I had the same problem today. I did the following to get this fixed:
First, open a DOS prompt and admin rights. Then, go to your Anaconda2\Scripts folder. Then, type in:
conda update conda
and allow all updates. One of the updates should be menuinst.
Then, change to the Anaconda2\Lib directory, and type in the following command:
..\python _nsis.py mkmenus
Wait for this to complete, then check your Start menu for the new shortcuts.
Steve
It may be caused by file writing privilege. Or, you can only install it for the local/current user instead of all users.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With