0

小插曲:ReadTimeoutError,host=files.pythonhosted.org

- python基础 - 阅 21

HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. 安装PyQt5库时报错(安装命令是: pip install PyQt5) : pip --default-timeout=100 install PyQt5Collecting PyQt5Using cached PyQt5-5.15.6-cp36-abi3-win_amd64.whl (6.7 MB)Collecti…

0

python pymysql连接mysql数据库查询实例

- python基础 - 阅 25

PyCharm安装pymysql,切到终端,直接输入:pip install pymysql,回车即可 连接数据库时需要设置的属性: # 连接数据库 db = pymysql.connect( host='127.0.0.1', port=3306, user='root', passwd='root', db='h2bcc', charset='utf8' ) curs…

      pip之家  懒人模板    长沙庆典策划公司