Comments (7)
You'll need to install fonts
and font-roboto
via pip (or pip3).
These are specified in install_requires
but it's possible that hasn't made it to a release yet:
enviroplus-python/library/setup.cfg
Lines 36 to 37 in 97ee1d8
from enviroplus-python.
I was updating manually from an earlier version - I should have used RobotoMedium, but the fonts and font-roboto were both missing. This can be closed, thank you.
from enviroplus-python.
No worries!
from enviroplus-python.
I still have that issue. Restarted, uninstalled countless times... Am I doing smth wrong?
pip3 install font-roboto
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: font-roboto in /usr/local/lib/python3.7/dist-packages/font_roboto-0.0.1-py3.7.egg (0.0.1)
Traceback (most recent call last):
File "weather-and-light.py", line 9, in <module>
from fonts.ttf import RobotoMedium as UserFont
ImportError: cannot import name 'RobotoMedium' from 'fonts.ttf' (/usr/local/lib/python3.7/dist-packages/fonts-0.0.3-py3.7.egg/fonts/ttf/__init__.py)
from enviroplus-python.
Have you done
pip3 install fonts
?
from enviroplus-python.
@dxcSithLord yes 🤔
pip3 install fonts
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: fonts in /usr/local/lib/python3.7/dist-packages/fonts-0.0.3-py3.7.egg (0.0.3)
from enviroplus-python.
Nvm, i've purged everything, remade a fresh raspbian
SD, installed via curl curl -sSL https://get.pimoroni.com/enviroplus | bash
, and everything's fine. More than likely it was some old assets.
from enviroplus-python.
Related Issues (20)
- NumPy Error when working with LCD HOT 1
- Install script does not install all required python libraries HOT 4
- all_in_one (and combined) needs to recalculate humidity based on compensated temperature HOT 3
- Gas sensor not returning values HOT 3
- Migrate Lufdaten.py to Sensors Community (luftdaten.py) HOT 1
- Install script is missing a of dependencies and simply does not work HOT 3
- PMS5003 best use HOT 6
- light.py sample fails to run on new Enviro+ HOT 3
- BME280 - Pressure / Humidity Incorrect Readings HOT 3
- Failed to read PMS5003 (fresh latest install) HOT 1
- Pillow 10 compatibility HOT 1
- install.sh not working when trying to install over SSH HOT 6
- Installing enviroplus-python library and running lcd.py does not work HOT 3
- Error `/usr/bin/raspi-config: 2909: do_serial_cons: not found` when running install.sh HOT 1
- Will not install. Tried multiple methods and multiple pi's and multiple pi os versions. HOT 7
- Suddenly not starting, reporting an issue with `get_pin` HOT 1
- GPIO24: not found HOT 7
- (pms5003) Not working on Pi Zero / Bookworm HOT 5
- Support for other boards besides raspberry Pi with 40 pin gpio HOT 1
- LCD does not show anything only backlight is on HOT 2
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 enviroplus-python.