the*_*nac 5 python anaconda conda
我想更新我当前使用的所有软件包。进入 anaconda 提示符并输入
conda update --all
返回消息“所有请求的软件包已安装”。事实并非如此,因为我的包裹几乎有一半已经过时了。我知道 anaconda 这样做只是因为依赖冲突。所以我尝试手动更新 1 个软件包,在我的例子中是 pandas。
正在打字conda update pandas,给我留言
Updating pandas is constricted by
anaconda -> requires pandas==0.25.1=py37ha925a31_0
If you are sure you want an update of your package either try `conda update --all` or install a
specific version of the package you want using `conda install <pkg>=<version>`
Run Code Online (Sandbox Code Playgroud)
那么这是否意味着我无法将 pandas 更新到最新版本?或者就此而言,任何其他库(例如 numpy)都会向我产生相同的消息。这是正常现象还是我错过了什么?
小智 3
我遇到了同样的问题,您可以通过更新到最新的 anaconda 来解决它,您需要输入
conda install anaconda=2020.07
Run Code Online (Sandbox Code Playgroud)
这应该将所有内容更新到最新的软件包,将我的 pandas 更新到 1.0.5 并更新了许多其他软件包