1. 程式人生 > >win7 下anaconda 安裝及安裝包

win7 下anaconda 安裝及安裝包

今天在使用python2.7時,報了一個numpy的錯誤,以為不能用了

就嘗試安裝一下anaconda ,遇到一個一問題


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


201605補充

之前在機器上安裝有python的環境,現在就是安裝一些anaconda的包的一些用法

在 python 中可以使用 

pip install 包名

安裝包

在anaconda下可以使用

conda install 包名

安裝所要的包

使用時可以是 

pip install --help 

conda install --help 

查詢幫助

參考

http://stackoverflow.com/questions/34780267/anaconda-python-installation-error