Title: Errors installing blue_st_sdk and bluepy · Issue #28 · STMicroelectronics/BlueSTSDK_Python · GitHub
Open Graph Title: Errors installing blue_st_sdk and bluepy · Issue #28 · STMicroelectronics/BlueSTSDK_Python
X Title: Errors installing blue_st_sdk and bluepy · Issue #28 · STMicroelectronics/BlueSTSDK_Python
Description: Hello, I am trying to run BlueSTSDK_Python in VSCode/Ubuntu but I am getting these errors during installation: Error Installing BlueSTSDK: `(.venv) parallels@parallels-Parallels-Virtual-Platform:~/Code/Python/BlueSTSDK_Python$ pip instal...
Open Graph Description: Hello, I am trying to run BlueSTSDK_Python in VSCode/Ubuntu but I am getting these errors during installation: Error Installing BlueSTSDK: `(.venv) parallels@parallels-Parallels-Virtual-Platform:~/...
X Description: Hello, I am trying to run BlueSTSDK_Python in VSCode/Ubuntu but I am getting these errors during installation: Error Installing BlueSTSDK: `(.venv) parallels@parallels-Parallels-Virtual-Platform:~/...
Opengraph URL: https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/28
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Errors installing blue_st_sdk and bluepy","articleBody":"Hello,\r\nI am trying to run BlueSTSDK_Python in VSCode/Ubuntu but I am getting these errors during installation:\r\n\r\n**Error Installing BlueSTSDK:**\r\n\r\n`(.venv) parallels@parallels-Parallels-Virtual-Platform:~/Code/Python/BlueSTSDK_Python$ pip install blue_st_sdk\r\nCollecting blue_st_sdk\r\n Downloading blue_st_sdk-1.4.0.tar.gz (59 kB)\r\n |████████████████████████████████| 59 kB 486 kB/s \r\nBuilding wheels for collected packages: blue-st-sdk\r\n Building wheel for blue-st-sdk (setup.py) ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: /home/parallels/Code/Python/BlueSTSDK_Python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-_vble_t0/blue-st-sdk/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-_vble_t0/blue-st-sdk/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' bdist_wheel -d /tmp/pip-wheel-dkn2c_qu\r\n cwd: /tmp/pip-install-_vble_t0/blue-st-sdk/\r\n Complete output (6 lines):\r\n usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\r\n or: setup.py --help [cmd1 cmd2 ...]\r\n or: setup.py --help-commands\r\n or: setup.py cmd --help\r\n \r\n error: invalid command 'bdist_wheel'\r\n ----------------------------------------\r\n ERROR: Failed building wheel for blue-st-sdk\r\n Running setup.py clean for blue-st-sdk\r\nFailed to build blue-st-sdk\r\nInstalling collected packages: blue-st-sdk\r\n Running setup.py install for blue-st-sdk ... done\r\nSuccessfully installed blue-st-sdk-1.4.0\r\n`\r\n===================\r\n\r\n**Error Installing BluePY:**\r\n\r\n`(.venv) parallels@parallels-Parallels-Virtual-Platform:~/Code/Python/BlueSTSDK_Python$ pip install bluepy\r\nCollecting bluepy\r\n Downloading bluepy-1.3.0.tar.gz (217 kB)\r\n |████████████████████████████████| 217 kB 1.0 MB/s \r\nBuilding wheels for collected packages: bluepy\r\n Building wheel for bluepy (setup.py) ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: /home/parallels/Code/Python/BlueSTSDK_Python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-hzbo9gsd/bluepy/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-hzbo9gsd/bluepy/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' bdist_wheel -d /tmp/pip-wheel-x71z6rkk\r\n cwd: /tmp/pip-install-hzbo9gsd/bluepy/\r\n Complete output (6 lines):\r\n usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\r\n or: setup.py --help [cmd1 cmd2 ...]\r\n or: setup.py --help-commands\r\n or: setup.py cmd --help\r\n \r\n error: invalid command 'bdist_wheel'\r\n ----------------------------------------\r\n ERROR: Failed building wheel for bluepy\r\n Running setup.py clean for bluepy\r\nFailed to build bluepy\r\nInstalling collected packages: bluepy\r\n Running setup.py install for bluepy ... error\r\n ERROR: Command errored out with exit status 1:\r\n command: /home/parallels/Code/Python/BlueSTSDK_Python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-hzbo9gsd/bluepy/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-hzbo9gsd/bluepy/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /tmp/pip-record-1zq5u9lz/install-record.txt --single-version-externally-managed --compile --install-headers /home/parallels/Code/Python/BlueSTSDK_Python/.venv/include/site/python3.8/bluepy\r\n cwd: /tmp/pip-install-hzbo9gsd/bluepy/\r\n Complete output (11 lines):\r\n running install\r\n running build\r\n running build_py\r\n Working dir is /tmp/pip-install-hzbo9gsd/bluepy\r\n execute make -C ./bluepy clean\r\n execute make -C bluepy -j1\r\n Failed to compile bluepy-helper. Exiting install.\r\n Command was 'make -C bluepy -j1' in /tmp/pip-install-hzbo9gsd/bluepy\r\n Return code was 2\r\n Output was:\r\n b\"make: Entering directory '/tmp/pip-install-hzbo9gsd/bluepy/bluepy'\\ntar xzf bluez-src.tgz\\ntouch ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c\\nPackage glib-2.0 was not found in the pkg-config search path.\\nPerhaps you should add the directory containing `glib-2.0.pc'\\nto the PKG_CONFIG_PATH environment variable\\nNo package 'glib-2.0' found\\nPackage glib-2.0 was not found in the pkg-config search path.\\nPerhaps you should add the directory containing `glib-2.0.pc'\\nto the PKG_CONFIG_PATH environment variable\\nNo package 'glib-2.0' found\\ncc -L. -g -Wall -Os -DHAVE_CONFIG_H -I./bluez-5.47/attrib -I./bluez-5.47 -I./bluez-5.47/lib -I./bluez-5.47/src -I./bluez-5.47/gdbus -I./bluez-5.47/btio -I./bluez-5.47/sys -o bluepy-helper bluepy-helper.c ./bluez-5.47/lib/bluetooth.c ./bluez-5.47/lib/hci.c ./bluez-5.47/lib/sdp.c ./bluez-5.47/lib/uuid.c ./bluez-5.47/attrib/att.c ./bluez-5.47/attrib/gatt.c ./bluez-5.47/attrib/gattrib.c ./bluez-5.47/attrib/utils.c ./bluez-5.47/btio/btio.c ./bluez-5.47/src/log.c ./bluez-5.47/src/shared/mgmt.c ./bluez-5.47/src/shared/crypto.c ./bluez-5.47/src/shared/att.c ./bluez-5.47/src/shared/queue.c ./bluez-5.47/src/shared/util.c ./bluez-5.47/src/shared/io-glib.c ./bluez-5.47/src/shared/timeout-glib.c \\nbluepy-helper.c:33:10: fatal error: glib.h: No such file or directory\\n 33 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/attrib/att.c:33:10: fatal error: glib.h: No such file or directory\\n 33 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/attrib/gatt.c:32:10: fatal error: glib.h: No such file or directory\\n 32 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/attrib/gattrib.c:34:10: fatal error: glib.h: No such file or directory\\n 34 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/attrib/utils.c:30:10: fatal error: glib.h: No such file or directory\\n 30 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/btio/btio.c:37:10: fatal error: glib.h: No such file or directory\\n 37 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/src/log.c:38:10: fatal error: glib.h: No such file or directory\\n 38 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/src/shared/io-glib.c:30:10: fatal error: glib.h: No such file or directory\\n 30 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\n./bluez-5.47/src/shared/timeout-glib.c:22:10: fatal error: glib.h: No such file or directory\\n 22 | #include \u003cglib.h>\\n | ^~~~~~~~\\ncompilation terminated.\\nmake: *** [Makefile:30: bluepy-helper] Error 1\\nmake: Leaving directory '/tmp/pip-install-hzbo9gsd/bluepy/bluepy'\\n\"\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: /home/parallels/Code/Python/BlueSTSDK_Python/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '\"'\"'/tmp/pip-install-hzbo9gsd/bluepy/setup.py'\"'\"'; __file__='\"'\"'/tmp/pip-install-hzbo9gsd/bluepy/setup.py'\"'\"';f=getattr(tokenize, '\"'\"'open'\"'\"', open)(__file__);code=f.read().replace('\"'\"'\\r\\n'\"'\"', '\"'\"'\\n'\"'\"');f.close();exec(compile(code, __file__, '\"'\"'exec'\"'\"'))' install --record /tmp/pip-record-1zq5u9lz/install-record.txt --single-version-externally-managed --compile --install-headers /home/parallels/Code/Python/BlueSTSDK_Python/.venv/include/site/python3.8/bluepy Check the logs for full command output.\r\n`\r\n\r\nWhat am I missing?\r\n\r\nAnother question: Are there any plans to support Windows too?\r\n\r\nThanks,\r\n\r\n\r\nAlvaro","author":{"url":"https://github.com/alvaroiramirez","@type":"Person","name":"alvaroiramirez"},"datePublished":"2021-11-24T05:06:17Z","url":"https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/28"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bf333516-5517-f18a-0a97-3b97dc07b887 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 89F4:2C0F2B:22AE6DF:2D32DE9:6B054145 |
| html-safe-nonce | 3c9581b13128388413356055490cbc1c4cf0b658aa9349f2f0f0bc6d9b4221cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUY0OjJDMEYyQjoyMkFFNkRGOjJEMzJERTk6NkIwNTQxNDUiLCJ2aXNpdG9yX2lkIjoiNjMzNzEyMDgxMTM0NjExNjkzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9a3b51e62130a40807fdd0e396afe79f0ff0aa8987f33561f139d3d0dc3e9930 |
| hovercard-subject-tag | issue:1062007774 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/STMicroelectronics/BlueSTSDK_Python/28/issue_layout |
| twitter:image | https://opengraph.githubassets.com/06a1dcb45c7a14ac1b7877997d7c852f1a9de037a2a415ad5db8a2ae6e0d7d24/STMicroelectronics/BlueSTSDK_Python/issues/28 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/06a1dcb45c7a14ac1b7877997d7c852f1a9de037a2a415ad5db8a2ae6e0d7d24/STMicroelectronics/BlueSTSDK_Python/issues/28 |
| og:image:alt | Hello, I am trying to run BlueSTSDK_Python in VSCode/Ubuntu but I am getting these errors during installation: Error Installing BlueSTSDK: `(.venv) parallels@parallels-Parallels-Virtual-Platform:~/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alvaroiramirez |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/STMicroelectronics/BlueSTSDK_Python git https://github.com/STMicroelectronics/BlueSTSDK_Python.git |
| octolytics-dimension-user_id | 10744877 |
| octolytics-dimension-user_login | STMicroelectronics |
| octolytics-dimension-repository_id | 125541395 |
| octolytics-dimension-repository_nwo | STMicroelectronics/BlueSTSDK_Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125541395 |
| octolytics-dimension-repository_network_root_nwo | STMicroelectronics/BlueSTSDK_Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width