且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Anaconda 没有找到我用 `pip` 安装的软件包

更新时间:2022-12-13 10:12:17

在评论中确定使用的pip/usr/bin/pip;换句话说,系统 pip.系统 pip 将安装到系统 site-packages,而不是 Anaconda 的 site-packages.

In the comments, it was determined that the pip in use was /usr/bin/pip; in other words, the system pip. The system pip will install into the system site-packages, not Anaconda's site-packages.

解决方案是确保在安装用于 Anaconda 的软件包时使用 Anaconda 的 pip.

The solution is to make sure you're using Anaconda's pip when installing packages for use with Anaconda.