-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to install pymongoarrow on aws linux 2 #231
Comments
Hi @covatic-john, I'm trying to reproduce your setup on an amazonlinux:2 docker image. What steps did you use to install libbson? amazonlinux is not one of the supported platforms: https://mongoc.org/libmongoc/1.17.0/installing.html#install-libbson-with-a-package-manager. |
yum install libbson
… On 13 Aug 2024, at 12:48, Steven Silvester ***@***.***> wrote:
Hi @covatic-john <https://github.com/covatic-john>, I'm trying to reproduce your setup on an amazonlinux:2 docker image. What steps did you use to install libbson? amazonlinux is not one of the supported platforms: https://mongoc.org/libmongoc/1.17.0/installing.html#install-libbson-with-a-package-manager.
—
Reply to this email directly, view it on GitHub <#231 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BC3KZVMN7WZGRUPE2JBMSXLZRHXATAVCNFSM6AAAAABMMIXMGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBWGA2TENZXHE>.
You are receiving this because you were mentioned.
--
This email and any attachments are confidential, may contain privileged
material and are intended solely for the use of the individual to whom it
is addressed. Any views or opinions expressed are solely those of the
author and do not necessarily represent those of Covatic. If you are not
the intended recipient of this email, you must neither take any action
based upon its content, nor copy nor show it to anyone.
Covatic is a
limited company registered in England & Wales. Registration number:
10422855. Registered office: 412-413 Scott House, The Custard Factory, Gibb
Street, Birmingham, B9 4AA.
|
Do you have any extra sources configured? When I tried that from the docker image I get:
|
Sorry. been on Annual leave and stacked out. I'll go back and see what I tried to get it working. I may may give up on this as AWS linux 2 hits end of life next year |
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)
The text was updated successfully, but these errors were encountered: