samhx

conda:

conda update --a

pip:

pip freeze --local | grep -v \'^-e\' | cut -d = -f 1  | xargs -n1 sudo pip install -U # 有风险
pip freeze --user --local  | grep -v \'^-e\' | cut -d = -f 1  | xargs -n1 pip install --user -U # 升级用户的包

pip更换源:

mkdir -p ~/.config/pip
vim ~/.config/pip/pip.conf
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple

分类:

技术点:

相关文章:

  • 2022-02-09
  • 2022-01-21
  • 2022-02-09
  • 2022-02-09
  • 2022-02-09
  • 2022-02-09
  • 2021-12-18
猜你喜欢
  • 2022-02-09
  • 2022-02-09
  • 2021-07-04
  • 2021-05-25
  • 2022-02-09
  • 2022-02-10
相关资源
相似解决方案