Git Product home page Git Product logo

Comments (3)

toshibochan avatar toshibochan commented on August 22, 2024

i did "sudo python lab_app.py" and come back:
lab_app.py:148: SyntaxWarning: import * only allowed at module level
@app.route("/to_plotly", methods=['GET']) #This method will send the data to ploty.
Traceback (most recent call last):
File "lab_app.py", line 47, in module
from flask import Flask, request, render_template
ImportError: No module named flask

i need to install some thing? what is Flask?

from pi-temp.

toshibochan avatar toshibochan commented on August 22, 2024

i have this error now:lab_app.py:148: SyntaxWarning: import * only allowed at module level
@app.route("/to_plotly", methods=['GET']) #This method will send the data to ploty.
Traceback (most recent call last):
File "lab_app.py", line 50, in module
import arrow
ImportError: No module named arrow

from pi-temp.

cwalk avatar cwalk commented on August 22, 2024

Hey toshibochan, if you are not used to coding or don't know how to code, this might not be the best project for you. I would rate this as an intermediate level project for coding and Raspberry Pi knowledge. This was just more of me wanting to share a project I did, and I don't have step by step installation instructions available.

Flask is a microframework for Python, and more info can be found here: http://flask.pocoo.org

Arrow is a Python library that offers a sensible, human-friendly approach to creating, manipulating, formatting and converting dates, times, and timestamps. It implements and updates the datetime type, plugging gaps in functionality, and provides an intelligent module API that supports many common creation scenarios. Simply put, it helps you work with dates and times with fewer imports and a lot less code. More can be read here: http://crsmithdev.com/arrow/

from pi-temp.

Related Issues (8)

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.