python3.7.3使用pip安装mysqldb报错,3.7.3后改为pymysql

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python3.7.3使用pip安装mysqldb报错,3.7.3后改为pymysql相关的知识,希望对你有一定的参考价值。

(xiao) [[email protected] web]$ pip install mysqldb
Collecting mysqldb
Could not find a version that satisfies the requirement mysqldb (from versions: )
No matching distribution found for mysqldb
(xiao) [[email protected] web]$ pip install pymysql
Collecting pymysql
Downloading https://files.pythonhosted.org/packages/ed/39/15045ae46f2a123019aa968dfcba0396c161c20f855f11dea6796bcaae95/PyMySQL-0.9.3-py2.py3-none-any.whl (47kB)
100% |████████████████████████████████| 51kB 78kB/s
Installing collected packages: pymysql
Successfully installed pymysql-0.9.3

以上是关于python3.7.3使用pip安装mysqldb报错,3.7.3后改为pymysql的主要内容,如果未能解决你的问题,请参考以下文章

windows7环境下使用pip安装MySQLdb

windows7环境下使用pip安装MySQLdb

windows7环境下使用pip安装MySQLdb

centos7 使用pip安装python-mysqldb模块出现的问题:

centos6.8安装python3.7.3报错Can't connect to HTTPS URL because the SSL module is not available问题解决

Python3.4下安装pip和MySQLdb