Anaconda Navigator向我展示了旧版本的软件包 [英] Anaconda Navigator shows me old versions of packages

查看:301
本文介绍了Anaconda Navigator向我展示了旧版本的软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我通过点子升级了一些软件包

pip install --upgrade tensorflow 

新版本是2.2.0

但是在Anaconda的某些环境中,我仍然显示2.0.0

如果我使用

pip list 

显示2.2.0

如何在Anaconda版本的已安装软件包中进行升级?

解决方案

在混合pip和conda软件包安装时,我经历了一段危险的旅程,因此,我不建议使用pip-尝试始终安装所有内容conda install.您还可以通过该突击队找到典型的Python库.如果有任何特殊的软件包要安装,例如本地未发布的文档,然后请参阅Anaconda文档: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-pkgs.html

简而言之,我的答案是设置一个全新的conda环境(也是基础,如此新鲜),通过conda install安装所有标准软件包,然后尝试安装特殊的软件包(如果有).之后,conda更新将为您轻松实现神奇的作用.

I upgraded by pip some packages for example

pip install --upgrade tensorflow 

and new version is 2.2.0

but on Anaconda in the some env shows me still 2.0.0

if I use

pip list 

shows me 2.2.0

How to upgrade in Anaconda versions of instaled packages?

解决方案

I made the experience of a hazardous journey when mixing up pip and conda package installations, therefore I do not recommend using pip - Try to install everything ALWAYS and ONLY with conda install. You will also find typical Python libraries via that commando. If there is any special package to be installed, e.g. local ones not published, then kindly refer to the Anaconda documentation: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-pkgs.html

In a nutshell, my answer is to setup a brand new conda environment (also the base, so fresh grounds), install all standard packages via conda install and then try to install the special ones (if you have any). After that, conda update will do the magic for you very easily.

这篇关于Anaconda Navigator向我展示了旧版本的软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆