At this situation, it's probably a $PATH conflict.
If you're windows, check out the folder C:\Users\lingc\AppData\Local\Programs\Python, which should be releated to your $PATH variable.
As expected, you will see, for example:
\Python311
\Python312
...
Using command python -V to show and remember what's the specific version of python you're using as "python" command.
Back to your project folder, replace the Your Username and Your PythonVersion in the following command, and run.
(If you installed python in other place, just adjust for that):
C:\Users<Your UserName>\AppData\Local\Programs\Python<Your PythonVersion>\python.exe -m pip install mysql-connector-python