2016-04-19 336 views
1

我已經安裝了Python 3.5以下突擊隊:更新蟒蛇3.5蟒蛇

conda create -n py35 python=3.5 anaconda 

我也有一個基地python27安裝蟒蛇。當我想更新它時,我只寫:

conda update conda 

但是,如何更新我的pyhon35?

我已經試過這樣:

activate py35 
[py35] C:\Users\trofl>cd C:\Users\trofl\Anaconda2\envs\py35 

[py35] C:\Users\trofl\Anaconda2\envs\py35>conda install conda 
    Using Anaconda Cloud api site https://api.anaconda.org 
    Fetching package metadata: .... 
    Solving package specifications: ......... 

    Error: 'conda' can only be installed into the root environment 

回答

2

它看起來像你想,當你在你的當前環境暢達-env和暢達建造安裝。您必須首先刪除這些以更新conda。

source activate my-env 
conda remove conda-build 
conda remove conda-env 
conda update anaconda