Anaconda更新库
程序员文章站
2022-06-01 20:12:17
...
conda only manages the packages that are installed using a conda
command. If you installed a package with pip
(or using python setup.py
install or develop) it will show up with conda list (because that shows all packages no matter how they were installed) but conda won’t manage that package. Simply because it doesn’t know how!
So if you installed a package with pip you also need to upgrade/update it with pip:
pip install [package_name] --upgrade