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

2 years ago

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/pyprojecthooks/inprocess/inprocess.py", line 353, in

10 10.78 main()

10 10.78 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 335, in main

10 10.78 jsonout['returnval'] = hook(**hook_input['kwargs'])

10 10.78 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

10 10.78 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 118, in getrequiresforbuildwheel

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/buildmeta.py", line 325, in getrequiresforbuild_wheel

10 10.78 return self.getbuildrequires(configsettings, requirements=['wheel'])

10 10.78 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Archived

2 Replies

2 years ago

I would recommend switching to a pure python mysql client


Status changed to Solved Railway almost 2 years ago


2 years ago

locking as this is a duplicate.


2 years ago

locking as this is a duplicate.

Status changed to Archived brody almost 2 years ago


Loading...