Description
Having updated pip to latest version and installed libbson with yum I am still getting the following error any pointers would be great
The exit code: 1 The error output of the command: Collecting pymongoarrow~=1.5.0 Using cached pymongoarrow-1.5.0.tar.gz (59 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'error' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [25 lines of output] Compiling pymongoarrow/lib.pyx because it changed. [1/1] Cythonizing pymongoarrow/lib.pyx :28: UserWarning: Package libbson-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libbson-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libbson-1.0' found Traceback (most recent call last): File "/home/ec2-user/.virtualenvs/database_flattening/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/ec2-user/.virtualenvs/database_flattening/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/ec2-user/.virtualenvs/database_flattening/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-t_745ygk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "/tmp/pip-build-env-t_745ygk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-t_745ygk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 497, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-t_745ygk/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 313, in run_setup exec(code, locals()) File " ", line 175, in File " ", line 169, in get_extension_modules File " ", line 105, in append_libbson_flags ValueError: Could not find "libbson-1.0" library [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. Non-zero exit code (1)