Giter Club home page Giter Club logo

Comments (7)

Gadgetoid avatar Gadgetoid commented on June 15, 2024 1

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:

fonts
font-roboto

from enviroplus-python.

dxcSithLord avatar dxcSithLord commented on June 15, 2024

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.

Gadgetoid avatar Gadgetoid commented on June 15, 2024

No worries!

from enviroplus-python.

shtefanilie avatar shtefanilie commented on June 15, 2024

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.

dxcSithLord avatar dxcSithLord commented on June 15, 2024

Have you done
pip3 install fonts
?

from enviroplus-python.

shtefanilie avatar shtefanilie commented on June 15, 2024

@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.

shtefanilie avatar shtefanilie commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.