Many people have encountered this problem. First of all, you should know that you cannot install MySQL-python separately using pip because it has many dependencies. If your system is Ubuntu or Debian-like Linux, you can use the apt-get command to install it, sudo apt-get install MySQL-python, For Windows systems, you can search for python-MySQL on Google and download an installation package for installation. ,
python3 does not have the MYSQL-python package. This is for python2. You can try to use pymysql instead of mysql-python.
Many people have encountered this problem. First of all, you should know that you cannot install MySQL-python separately using pip because it has many dependencies. If your system is Ubuntu or Debian-like Linux, you can use the apt-get command to install it, sudo apt-get install MySQL-python,
For Windows systems, you can search for python-MySQL on Google and download an installation package for installation. ,
I guess it depends on this
sudo apt-get install libmysqlclient-dev