anaconda更新python,在Anaconda中更新python 3.5

用户尝试在已安装Anaconda 2.7和Python 3.5的环境中更新Python 3.5,但遇到了错误。错误提示表明conda不能在当前环境中安装。解决方案建议先移除conda-build和conda-env,然后在root环境下更新conda。
摘要由CSDN通过智能技术生成

I have installed python 3.5 with the following commando:

conda create -n py35 python=3.5 anaconda

I also have a base Anaconda python27 installed. When I wish to update it I just write:

conda update conda

But how do I update my pyhon35?

I have tried this:

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

解决方案

It looks like you are trying to install when you have conda-env and conda-build in your current environment. You have to remove these first to update conda.

source activate my-env

conda remove conda-build

conda remove conda-env

conda update anaconda

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值