I'm trying to set up a Python application using the cPanel interface. I've successfully created it and added the requirements.txt file.
But when I click the "Run Pip Install" button, and select "requirements.txt", after it spins for a while I get this error message:
and my Python app is set to use python 3.8.6.
How can I complete the installation?
But when I click the "Run Pip Install" button, and select "requirements.txt", after it spins for a while I get this error message:
The requirements.txt file listserror: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for mysqlclient
error: subprocess-exited-with-error
× Running setup.py install for mysqlclient did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> mysqlclientnote: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Code:
mysqlclient==2.1.0
How can I complete the installation?