2 years ago
I was on the trial plan till now with a functional deployment for the app and the Mysql db and it went down because I didn't pay in time and now when i try to redeploy I get the above error.
Note: this deployment was working perfectly for quite some time till it went down.
logs:
ERROR: failed to solve: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
Command 'pkg-config --exists libmariadb' returned non-zero exit status 1.
Aug 25 19:33:42
#10 6.182 Traceback (most recent call last):
Aug 25 19:33:42
#10 6.182 File "/opt/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
Aug 25 19:33:42
#10 6.182 main()
Aug 25 19:33:42
#10 6.182 File "/opt/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
Aug 25 19:33:42
#10 6.182 json_out['return_val'] = hook(**hook_input['kwargs'])
Aug 25 19:33:42
#10 6.182 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 25 19:33:42
Aug 25 19:33:42
#10 6.182 File "/opt/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
Aug 25 19:33:42
#10 6.182 return hook(config_settings)
Aug 25 19:33:42
#10 6.182 ^^^^^^^^^^^^^^^^^^^^^
Aug 25 19:33:42
#10 6.182 File "/tmp/pip-build-env-vs9_1q3v/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
Aug 25 19:33:42
#10 6.182 return self._get_build_requires(config_settings, requirements=[])
Aug 25 19:33:42
#10 6.182 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Aug 25 19:33:42
#10 6.182 File "/tmp/pip-build-env-vs9_1q3v/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 302, in getbuild_requires
Aug 25 19:33:42
#10 6.182 self.run_setup()
Aug 25 19:33:42
#10 6.182 File "/tmp/pip-build-env-vs9_1q3v/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 318, in run_setup
Aug 25 19:33:42
#10 6.182 exec(code, locals())
Aug 25 19:33:42
#10 6.182 File "<string>", line 155, in <module>
Aug 25 19:33:42
#10 6.182 File "<string>", line 49, in get_config_posix
Aug 25 19:33:42
#10 6.182 File "<string>", line 28, in find_package_name
Aug 25 19:33:42
#10 6.182 Exception: Can not find valid pkg-config name.
Aug 25 19:33:42
#10 6.182 Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
Aug 25 19:33:42
#10 6.182 [end of output]
Aug 25 19:33:42
#10 6.182
Aug 25 19:33:42
#10 6.182 note: This error originates from a subprocess, and is likely not a problem with pip.
Aug 25 19:33:42
#10 6.182 error: subprocess-exited-with-error
Aug 25 19:33:42
#10 6.182
Aug 25 19:33:42
#10 6.182 × Getting requirements to build wheel did not run successfully.
Aug 25 19:33:42
#10 6.182 │ exit code: 1
Aug 25 19:33:42
#10 6.182 ╰─> See above for output.
Aug 25 19:33:42
#10 6.182
Aug 25 19:33:42
#10 6.182 note: This error originates from a subprocess, and is likely not a problem with pip.
Aug 25 19:33:42
Aug 25 19:33:42
#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
0 Replies