Problem with Mysqlclient
jaavrjTRIAL
a year ago
13 10.54 Installing build dependencies: started
13 12.35 Installing build dependencies: finished with status 'done'
13 12.35 Getting requirements to build wheel: started
13 12.56 Getting requirements to build wheel: finished with status 'error'
13 12.57 error: subprocess-exited-with-error
13 12.57
13 12.57 × Getting requirements to build wheel did not run successfully.
13 12.57 │ exit code: 1
13 12.57 ╰─> [27 lines of output]
13 12.57 Trying pkg-config --exists mysqlclient
13 12.57 Command 'pkg-config --exists mysqlclient' returned non-zero exit status 1.
13 12.57 Trying pkg-config --exists mariadb
13 12.57 Command 'pkg-config --exists mariadb' returned non-zero exit status 1.
13 12.57 Trying pkg-config --exists libmariadb
13 12.57 Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
13 12.57 Traceback (most recent call last):
13 12.57 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 353, in
13 12.57 main()
13 12.57 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 335, in main
13 12.57 jsonout['returnval'] = hook(**hook_input['kwargs'])
13 12.57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 12.57 File "/opt/venv/lib/python3.11/site-packages/pip/vendor/pyprojecthooks/inprocess/inprocess.py", line 118, in getrequiresforbuildwheel
13 12.57 return hook(config_settings)
13 12.57 ^^^^^^^^^^^^^^^^^^^^^
13 12.57 File "/tmp/pip-build-env-h40s68zp/overlay/lib/python3.11/site-packages/setuptools/buildmeta.py", line 325, in getrequiresforbuild_wheel
13 12.57 return self.getbuildrequires(configsettings, requirements=['wheel'])
13 12.57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 12.57 File "/tmp/pip-build-env-h40s68zp/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _getbuildrequires
13 12.57 self.run_setup()
13 12.57 File "/tmp/pip-build-env-h40s68zp/overlay/lib/python3.11/site-packages/setuptools/buildmeta.py", line 311, in runsetup
13 12.57 exec(code, locals())
13 12.57 File "", line 155, in
13 12.57 File "", line 49, in getconfigposix
13 12.57 File "", line 28, in findpackagename
13 12.57 Exception: Can not find valid pkg-config name.
13 12.57 Specify MYSQLCLIENTCFLAGS and MYSQLCLIENTLDFLAGS env vars manually
13 12.57 [end of output]
> ⓘ Deployment information is only viewable by Project members and Railway admins.