Code Monkey home page Code Monkey logo

Comments (7)

holson-zhong avatar holson-zhong commented on July 19, 2024 1

I've figured out now. I ran "python weather.py" in command line mode, so it will show the error msg. If I ran it in the Desktop mode. It works!!

from piweatherrock.

genebean avatar genebean commented on July 19, 2024

How are you running it? What OS are you on?

from piweatherrock.

holson-zhong avatar holson-zhong commented on July 19, 2024

How are you running it? What OS are you on?

I have the same issue with this.

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux

from piweatherrock.

genebean avatar genebean commented on July 19, 2024

@holson-zhong is there something I could change about the documentation to help? Also, what exactly do you mean by desktop mode?

Sent with GitHawk

from piweatherrock.

holson-zhong avatar holson-zhong commented on July 19, 2024

from piweatherrock.

genebean avatar genebean commented on July 19, 2024

This should work without a GUI just fine. It can utilize a frame buffer to display the graphical bits. It’s intended to work with any of these drivers:

drivers = ['x11', 'fbcon', 'directfb', 'svgalib']

I just pulled out an old Pi I had in storage so I’ll double check this is all working as expected and then comment back.

from piweatherrock.

genebean avatar genebean commented on July 19, 2024

I just did a fresh install of Rasbian 10 Lite with the following steps and everything worked:

  1. ran raspi-config
  2. installed git, vim, & python3-pip
  3. cloned this repo
  4. created my config file with vim
  5. ran the apt-get install command from the readme
  6. ran pip3 install -r requirements.txt
  7. ran python3 weather.py

I suspect the no driver found issue was because you were not running it from the local tty (tty1). Feel free to reopen if you have more info you'd like me to look into

from piweatherrock.

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.