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 virtual environment to install.sh #515

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

WardBrian
Copy link
Member

This should fix the issue we're having with newer rasbians which have the EXTERNALLY_MANAGED pip setting enabled.

  • Sets up a virtual environment
  • Installs all dependencies there instead
  • Adds a shebang to main.py which means you don't need to activate it every time. Instead of python3 main.py, you can just run ./main.py now (not sure if this is great, since we can't gitignore the change it makes, but it's probably fine?)

@ty-porter ty-porter self-requested a review February 17, 2024 20:58
@WardBrian WardBrian merged commit 32f5c80 into MLB-LED-Scoreboard:dev Feb 18, 2024
6 checks passed
@WardBrian WardBrian deleted the install-venv branch February 18, 2024 02:57
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

Successfully merging this pull request may close these issues.

2 participants