Python3:模块:ModuleNotFoundError No module named 'MySQLdb'

Centos:

yum install mysql-devel gcc gcc-devel python-devel
pip3 install pymysql mysqlclient

Mac:

brew install mySQL
brew install openssl
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
pip3 install pymysql mysqlclient

相关文章:

  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-01-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-09-25
  • 2021-07-12
  • 2022-01-09
相关资源
相似解决方案