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

Error installing library for Build HAT #3275

Open
Gun-neR opened this issue Nov 14, 2023 · 9 comments
Open

Error installing library for Build HAT #3275

Gun-neR opened this issue Nov 14, 2023 · 9 comments
Labels
backlog We'll be getting to it eventually bookworm 🐛 Issue with Bookworm bullseye Issue with Bullseye documentation lego 🧱

Comments

@Gun-neR
Copy link

Gun-neR commented Nov 14, 2023

New install of Legacy OS on RPi4
Ran all the apt-get updates
Unable to install library for Build Hat (LEGO) using directions in documentation...


Installing the Python Library
Install the Build HAT Python library. Open a Terminal window and type,

$ sudo apt install python3-build-hat

pi@piLEGOHAT:~ $ sudo apt install python3-build-hatpip3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-build-hatpip3

@Gun-neR
Copy link
Author

Gun-neR commented Nov 14, 2023

A little more Googling and found this... and it seems to work.
Says it is installed, but have yet to test. (EDIT works fine :) )
Meanwhile, documentation might need updating??

pi@piLEGOHAT:~ $ sudo pip3 install buildhat
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting buildhat
  Downloading https://www.piwheels.org/simple/buildhat/buildhat-0.5.12-py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 178 kB/s 
Requirement already satisfied: gpiozero in /usr/lib/python3/dist-packages (from buildhat) (1.6.2)
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from buildhat) (3.5b0)
Installing collected packages: buildhat
Successfully installed buildhat-0.5.12
pi@piLEGOHAT:~ $ 

@aallan
Copy link
Contributor

aallan commented Nov 14, 2023

@ghollingworth Is the build hat python library apt package only available for Bookworm currently?

@aallan
Copy link
Contributor

aallan commented Nov 14, 2023

Meanwhile, documentation might need updating??

The documentation is correct for Bookworm, the current distribution of Raspberry Pi OS.

@aallan aallan added documentation bullseye Issue with Bullseye bookworm 🐛 Issue with Bookworm lego 🧱 labels Nov 14, 2023
@Gun-neR
Copy link
Author

Gun-neR commented Nov 14, 2023

Meanwhile, documentation might need updating??

The documentation is correct for Bookworm, the current distribution of Raspberry Pi OS.

Doesn't mention that fact, just says compatible with all 40 pin GPIO based RPis. So yet another thing that might need to be added to the docs. Too many remaining issues with Bookworm and legacy codes, etc.... IE, I couldn't even get connected to my headless setup with VNC so I went back to legacy and it just worked.

Doesn't matter much anymore to me. My issue and solution is at least now searchable... I couldn't find anything specifically related to my error msg, but only stumbled upon the other/older? method of install thanks to some GoogleFoo :)

@Gun-neR Gun-neR closed this as completed Nov 14, 2023
@aallan aallan reopened this Nov 14, 2023
@aallan
Copy link
Contributor

aallan commented Nov 14, 2023

Reopening issue. Either we need a NOTE block for legacy in the docs to say to use pip, or we need an apt package for the library for Bullseye.

@Gun-neR
Copy link
Author

Gun-neR commented Nov 14, 2023

No problem... wasn't sure who should close it, and I did kind of open it a bit prematurely (should have trusted my Googlefoo more , hah! ) but I had left it for the next person who, like me, couldn't find a solution in the relevant locations.

It is now in your hands. Thanks!

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@aallan
Copy link
Contributor

aallan commented Mar 17, 2024

Too soon Github bot, too soon.

@nathan-contino nathan-contino added the backlog We'll be getting to it eventually label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We'll be getting to it eventually bookworm 🐛 Issue with Bookworm bullseye Issue with Bullseye documentation lego 🧱
Projects
None yet
Development

No branches or pull requests

3 participants