Python3

作者: BillGrim | 来源:发表于2019-11-02 13:03 被阅读0次

安装 python 模块

  • 在 crontab 中使用 python, 需要使用 root 账号或者 sudo 安装 python 模块
sudo pip install SOME_MODULE

or

sudo pip3.X install SOME_MODULE
  • 服务器上重装或者升级系统依赖的包报错, 使用 --ingnore-installed SOME_MODULE 参数
sudo pip install requests --ingnore-installed requests --upgrade

更新 pip

sudo pip3 install pip --upgrade

更新 python 模块

sudo pip3 install SOME_MODULE --upgrade

相关文章

网友评论

      本文标题:Python3

      本文链接:https://www.haomeiwen.com/subject/kewcbctx.html