1  解决python下安装 mysql python 库

MySQL-python is not supported on python3 instead of this you can use mysqlclient

If you are on fedora/centos/Red Hat install following package

yum install python3-devel

pip install mysqlclient

 

2. 解决Python.h找不到问题

参考: https://blog.51cto.com/11676589/1815295

yum  install python3 -devel.x86_64

 

3  解决Python 3 ImportError: No module named 'ConfigParser'

参考下 https://stackoverflow.com/questions/14087598/python-3-importerror-no-module-named-configparser

 

In Python 3,ConfigParserhas been renamed toconfigparserfor PEP 8 compliance. It looks like the package you are installing does not support Python 3.

相关文章:

  • 2021-05-21
  • 2021-07-23
  • 2021-09-17
  • 2022-12-23
  • 2021-05-08
  • 2021-09-21
  • 2019-11-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-01-20
相关资源
相似解决方案