Anaconda Navigator shows me old versions of packages

爱⌒轻易说出口 提交于 2020-07-10 10:29:05

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/61975333/anaconda-navigator-shows-me-old-versions-of-packages

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!