zoukankan      html  css  js  c++  java
  • python Could not find a version that satisfies the requirement pymysql (from versions: none) ERROR: No matching distribution found for pymysql

    使用pip安装pymysql出错;Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: ) No matching distribution found for cryptography (from pymysql)

    今天使用pip安装pymysql时出现如下错误:

    Could not find a version that satisfies the requirement cryptography (from pymysql) (from versions: )
    No matching distribution found for cryptography (from pymysql)

    使用pip安装其他模块时也可能出现上述错误,主要原因是网络的问题,需要使用国内的镜像源来加速,比如豆瓣源

    因此命令可以使用:

    pip install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

    或者

    pip3 install pymysql -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

    即可成功安装。

    原文连接

  • 相关阅读:
    Spring
    华为OJ题目:扑克牌大小
    冒泡排序算法总结
    华为OJ题目:刷题
    求立方根
    假硬币问题求解
    SQL in Qt (一)
    Qt3D教程
    (Qt 翻译) QGLAbstractScene
    (Qt 翻译) QGLSceneNode
  • 原文地址:https://www.cnblogs.com/xiqoqu/p/python.html
Copyright © 2011-2022 走看看