Problem with Mysqlclient
jaavrj
TRIALOP

2 years 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/pyproject_hooks/_in_process/_in_process.py", line 353, in

#13 12.57 main()

#13 12.57 File "/opt/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main

#13 12.57 json_out['return_val'] = hook(**hook_input['kwargs'])

#13 12.57 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#13 12.57 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

#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/build_meta.py", line 325, in get_requires_for_build_wheel

#13 12.57 return self._get_build_requires(config_settings, 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 _get_build_requires

#13 12.57 self.run_setup()

#13 12.57 File "/tmp/pip-build-env-h40s68zp/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup

#13 12.57 exec(code, locals())

#13 12.57 File "", line 155, in

#13 12.57 File "", line 49, in get_config_posix

#13 12.57 File "", line 28, in find_package_name

#13 12.57 Exception: Can not find valid pkg-config name.

#13 12.57 Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually

#13 12.57 [end of output]

View Deploy details

> ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

2 years ago

I would recommend switching to a pure Python MySQL client.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...