pip记录--常用命令
1、安装
pip install **
or
pip --no-cache-dir install **
2、卸载
pip uninstall *
3、镜像源安装
pip install * -i https://mirrors.aliyun.com/pypi/simple
pip install xxx -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
4、清除缓存
Linux and Unix
~/.cache/pip # and it respects the XDG_CACHE_HOME directory.
OS X
~/Library/Caches/pip
Windows
%LocalAppData%\pip\Cache
5、Conda清除缓存
conda clean -p 删除未使用的包(缓存)
conda clean -a ()
----