Giter VIP home page Giter VIP logo

Comments (4)

songyuezhong avatar songyuezhong commented on August 16, 2024

D:\Leava-master\Leava-master\backend>python RESTful_backend.py
Traceback (most recent call last):
File "RESTful_backend.py", line 14, in
from flask import Flask, jsonify, abort, request
ModuleNotFoundError: No module named 'flask' 大哥,安装 完python运行不了后台文件啊,是不是还缺少东西?

from leava.

songyuezhong avatar songyuezhong commented on August 16, 2024

D:>cd Leava-master\Leava-master\backend

D:\Leava-master\Leava-master\backend>python RESTful_backend.

  • Serving Flask app "test" (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a
    nt.
    Use a production WSGI server instead.
  • Debug mode: on
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 171-749-072
  • Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
    大哥,后台运行起来是这样的嘛?怎么http地址不怎么对啊?

from leava.

songyuezhong avatar songyuezhong commented on August 16, 2024

折腾了一下午,还是不能运行啊,好像连接不进去,是不是数据库哪里设置有问题?只有开始界面,进不了里面去,求大神指导下啊,想哭

from leava.

zzjoey avatar zzjoey commented on August 16, 2024

折腾了一下午,还是不能运行啊,好像连接不进去,是不是数据库哪里设置有问题?只有开始界面,进不了里面去,求大神指导下啊,想哭

后端启动正确的,提示是说当前仅适用于调试环境

from leava.

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.