系统 CentOS 6 ,原本已有 Python 2.7 ,后来装了 Python 3.5 , pip 安装 mysql-connector-python 的时候报错说找不到合适的版本,我以为是 py3.5 较新,于是删除了 py3.5 ,装 py3.4.3 ,问题依旧。
```bash
> pip3 install mysql-connector-python
Collecting mysql-connector-python
Could not find a version that satisfies the requirement mysql-connector-python (from version: )
No matching distribution found for mysql-connector-python
```
而且到 MySQL 官网也找不到 CentOS 的安装包( https://dev.mysql.com/downloads/connector/python/)。难道要我换系统吗?
PS. Project 已写好,不打算更换其它 MySQL 库。
```bash
> pip3 install mysql-connector-python
Collecting mysql-connector-python
Could not find a version that satisfies the requirement mysql-connector-python (from version: )
No matching distribution found for mysql-connector-python
```
而且到 MySQL 官网也找不到 CentOS 的安装包( https://dev.mysql.com/downloads/connector/python/)。难道要我换系统吗?
PS. Project 已写好,不打算更换其它 MySQL 库。