R
Railway8mo ago
Qais

i need help for deploying my django project from github i get the following error

Getting requirements to build wheel: started #10 10.78 Getting requirements to build wheel: finished with status 'error' #10 10.78 error: subprocess-exited-with-error #10 10.78 #10 10.78 × Getting requirements to build wheel did not run successfully. #10 10.78 │ exit code: 1 #10 10.78 ╰─> [27 lines of output] #10 10.78 Trying pkg-config --exists mysqlclient #10 10.78 Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1. #10 10.78 Trying pkg-config --exists mariadb #10 10.78 Command 'pkg-config --exists mariadb' returned non-zero exit status 1. #10 10.78 Trying pkg-config --exists libmariadb #10 10.78 Command 'pkg-config --exists libmariadb' returned non-zero exit status 1. #10 10.78 Traceback (most recent call last): #10 10.78 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> #10 10.78 main() #10 10.78 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main #10 10.78 json_out['return_val'] = hook(**hook_input['kwargs']) #10 10.78 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ #10 10.78 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel #10 10.78 return hook(config_settings) #10 10.78 ^^^^^^^^^^^^^^^^^^^^^ #10 10.78 File "/tmp/pip-build-env-pu168eeg/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel #10 10.78 return self._get_build_requires(config_settings, requirements=['wheel']) #10 10.78 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Solution:
I would recommend switching to a pure python mysql client
Jump to solution
3 Replies
Percy
Percy8mo ago
Project ID: N/A
Solution
Brody
Brody8mo ago
I would recommend switching to a pure python mysql client
Brody
Brody8mo ago
locking as this is a duplicate.
Want results from more Discord servers?
Add your server