Giter VIP home page Giter VIP logo

Comments (6)

jeffreyg3 avatar jeffreyg3 commented on August 12, 2024

I am running that example as I type this response. I can confirm it does work. I am running the latest version of daqhats software.
To launch the app using the terminal from the web_server folder, I enter:
python3 ./web_server.py

Please try that.
Also the last line of the terminal screen shows the IP address you should used.
20210706_110924
20210706_110959

from daqhats.

polmdm avatar polmdm commented on August 12, 2024

Thank you very much for the reply, even I have all the most updated versions, or at least I think so. However, when running:
python3 ./web_server.py

The RPi returns:
Traceback (most recent call last): File "./web_server.py", line 25, in <module> from dash import Dash ModuleNotFoundError: No module named 'dash'

from daqhats.

jeffreyg3 avatar jeffreyg3 commented on August 12, 2024

According to the traceback, you do not have dash installed.

open a terminal and enter
pip install dash

also, launching your browser and surfing to http://IP_ADRESS:8080
did not work for me, and is not in the instructions provided with the example.
you are to navigate to the http://<host>:8080
where you replace <host>\ with the IP address shown on the terminal when you launch web_server.py (for an example please see my last).

from daqhats.

polmdm avatar polmdm commented on August 12, 2024

Hi, sorry for not having answered before. Of course, before running the commands I have already installed Dash with pip install dash but running python3 ./web_server.py it returns the error reported above. While simply with ./web_server.py it does start up but nothing loads at http://:8080.

Yeah, I meant: http://:8080 the one printed in the terminal.

Maybe is that I'm surfing to it from another pc and not directly from the RPi as you? It seems weird since I would like to access to it from remote...

from daqhats.

jeffreyg3 avatar jeffreyg3 commented on August 12, 2024

Since you are using Python 3, did you install DASH with pip3:
pip3 install dash

please try that.

from daqhats.

polmdm avatar polmdm commented on August 12, 2024

Thank you very much, it worked!

Have a nice day

from daqhats.

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.