python3 报错解决方法

  • No module named 'Crypto'

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pycryptodome
  • No module named 'PIL'

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pillow
  • No module named 'numpy'

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy

使用上海交大源

pip install -r requirements.txt -i https://mirror.sjtu.edu.cn/pypi/web/simple --trusted-host mirror.sjtu.edu.cn

安装后没有pip

https://blog.csdn.net/weixin_44331765/article/details/121017727

python -m ensurepip --upgrade

python -m pip install --upgrade pip

此处评论已关闭