Anaconda安裝(Windows)

來源:互聯網
上載者:User

標籤:

Anaconda整合了python和各種常用工具。

目前有兩個版本,分別包含了python2.7和python3.5,並且自動添加環境變數。去官網下載安裝包。

1.安裝其他模組。conda install xxx,或者pip install xxx

2.安裝2和3兩個版本。因為發現有的包不支援3,比如basemap和dateutil。

親測都安裝以後,python -V還是3.5.1,不知如何用,除非用pycharm,建立項目時可以選擇不同版本(註冊方式:http://www.cnblogs.com/evlon/p/4934705.html)。

換用虛擬環境方法。執行:

conda create -n python2 python=2.7,

會在Anaconda安裝目錄下的envs目錄下建立python2目錄。安裝完成後提示:

To activate this environment, use:

activate python2

如果不啟用,執行命令時要指明版本,如conda install -n python2 dateutil

參考文章:http://www.jb51.net/article/51651.htm

Anaconda安裝(Windows)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.