Skip to content
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

issues installing 'gattlib'? #8

Open
mcbazza opened this issue Dec 8, 2024 · 0 comments
Open

issues installing 'gattlib'? #8

mcbazza opened this issue Dec 8, 2024 · 0 comments

Comments

@mcbazza
Copy link

mcbazza commented Dec 8, 2024

If you get

(env) :~/Documents/python-spotled $ pip3 install gattlib Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting gattlib Using cached gattlib-0.20210616.tar.gz (54 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1
╰─> [15 lines of output]
Traceback (most recent call last):
File "", line 2, in File "", line 34, in File "/tmp/pip-install-c9v2na2p/gattlib_476160e2cf6b4c388253a2bd5d511442/setup.py", line 62, in boost_py = get_boost_version()
^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-install-c9v2na2p/gattlib_476160e2cf6b4c388253a2bd5d511442/setup.py", line 15, in get_boost_version out = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 466, in check_output return run(popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'ldconfig -p | grep -E 'libboost_python.
.so '' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Then try:
sudo apt-get install libboost-all-dev

And then try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant