# pip 相关问题
# 安装依赖
pip install xxx
# 移除依赖
pip uninstall xxx
# 列出依赖
pip list
# 生成 requirements.txt
pip freeze > requirements.txt
# 安装 requirements.txt
pip install -r requirements.txt
# 清除未安装成功包 (WARNING: Ignoring invalid distribution -)
cd xxx/anaconda/lib/pythonxxx/site-packages
rm -rf $(ls | grep "^~")