Discuss / Python / python3安装MySQL驱动通不过!!

python3安装MySQL驱动通不过!!

SGBMBP:~ SGB$ sudo pip3 install mysql-connector-python --allow-external mysql-connector-python Password: DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect. The directory '/Users/SGB/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/SGB/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting mysql-connector-python Could not find a version that satisfies the requirement mysql-connector-python (from versions: ) No matching distribution found for mysql-connector-python


  • 1

Reply