Comments (5)
So, it's working if I use this:
pip3 install --upgrade pip --break-system-packages
pip3 install -r requirements.txt --break-system-packages
But I was wondering if this is what should be added to the docs, or is there a way to use venv.
from rpi-sensehat-mqtt.
Btw, I documented my own setup guide here:
from rpi-sensehat-mqtt.
thanks for the heads up. yep. pip won't install packages if there's another package manager taking care of them, as it is the case in most OSes (e.g., apt for Debian). there are a few solutions though. you can install them via your OS pkg manager, use a virtual env or like you said, let pip handle the global install by using the --break-system-packages
flag.
But I was wondering if this is what should be added to the docs, or is there a way to use venv.
it should. if you don't mind, please feel free to make the changes and push them to this repo via a PR.
Btw, I documented my own setup guide here:
where? think you forgot to post the link.
from rpi-sensehat-mqtt.
Sorry, link was badly formatted, https://github.com/tolnai/matrix/blob/main/sensehat.md.
I couldn't figure out how to make that lib work with venv, so I just appended that flag to 2 commands and that's it.
from rpi-sensehat-mqtt.
I couldn't figure out how to make that lib work with venv, so I just appended that flag to 2 commands and that's it.
if you want to learn about the details: https://peps.python.org/pep-0668/
Sorry, link was badly formatted, https://github.com/tolnai/matrix/blob/main/sensehat.md.
404ed... 😞
from rpi-sensehat-mqtt.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpi-sensehat-mqtt.