Anaconda Python安装错误 [英] Anaconda Python installation error
问题描述
在Python 2.7 64位Windows安装过程中出现以下错误.我以前安装了python 3.5 64位,并且工作正常.但是在python 2.7安装过程中出现此错误:
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
请帮助我.
推荐答案
我今天遇到了同样的问题.我执行以下操作来解决此问题:
I had the same problem today. I did the following to get this fixed:
首先,打开DOS提示符和管理员权限.然后,转到您的Anaconda2 \ Scripts文件夹.然后,输入:
First, open a DOS prompt and admin rights. Then, go to your Anaconda2\Scripts folder. Then, type in:
conda update conda
并允许所有更新.更新之一应该是menuinst.
and allow all updates. One of the updates should be menuinst.
然后,转到Anaconda2 \ Lib目录,然后键入以下命令:
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.
史蒂夫
这篇关于Anaconda Python安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!