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

Add updated environment setup instructions for Raspberry Pi OS Bookworm compatibility #483

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dhrubasaha08
Copy link

@dhrubasaha08 dhrubasaha08 commented Mar 2, 2024

Add updated environment setup instructions for Raspberry Pi OS Bookworm compatibility across 7 Raspberry Pi examples

This commit introduces a new 'Setup Environment' section in the README files of seven Raspberry Pi TensorFlow Lite examples to ensure compatibility with the Debian Bookworm (2024 release). These updates include detailed steps for installing Python 3.9, managing dependencies, and setting up a virtual environment, which are essential for addressing the specific needs of the latest Raspberry Pi OS version.

Additionally, the necessity of using a virtual environment is highlighted due to the error encountered when attempting to run setup.sh without it on this new OS version:

error: externally-managed-environment

This error emphasizes the importance of isolating Python environments to prevent conflicts with system-managed packages and maintain stability across different development scenarios.

Moreover, I encountered issues related to the specific Python version used by the bullseye version of the Raspberry Pi OS , which necessitates this setup to ensure compatibility and address any potential GLIBCXX version errors when executing Python scripts:

ImportError: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.29' not found ...

By implementing these changes, I aim to provide a smooth setup experience for users working with Raspberry Pi TensorFlow Lite examples, ensuring that they can focus on development without being hindered by environmental issues.

Copy link

google-cla bot commented Mar 2, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@google-ml-butler google-ml-butler bot added the size:L CL Change Size: Large label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review size:L CL Change Size: Large
Projects
None yet
2 participants