Giter Club home page Giter Club logo

Comments (3)

Guozhuohang avatar Guozhuohang commented on September 18, 2024

请问你解决了吗

from h.

Guozhuohang avatar Guozhuohang commented on September 18, 2024

Traceback (most recent call last):
File "E:\Miniconda\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "E:\Miniconda\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "F:\flasktest\test_env\Scripts\flask.exe_main
.py", line 7, in
File "F:\flasktest\test_env\lib\site-packages\flask\cli.py", line 1063, in main
cli.main()
File "F:\flasktest\test_env\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "F:\flasktest\test_env\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "F:\flasktest\test_env\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "F:\flasktest\test_env\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "F:\flasktest\test_env\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "F:\flasktest\test_env\lib\site-packages\flask\cli.py", line 354, in decorator
app = _ctx.ensure_object(ScriptInfo).load_app()
File "F:\flasktest\test_env\lib\site-packages\flask\cli.py", line 308, in load_app
app = locate_app(import_name, name)
File "F:\flasktest\test_env\lib\site-packages\flask\cli.py", line 235, in locate_app
return find_best_app(module)
File "F:\flasktest\test_env\lib\site-packages\flask\cli.py", line 63, in find_best_app
app = app_factory()
File "F:\flasktest\RealProject_init
.py", line 56, in create_app
app.register_blueprint(blog.bp)
File "F:\flasktest\test_env\lib\site-packages\flask\scaffold.py", line 51, in wrapper_func
return f(self, *args, **kwargs)
File "F:\flasktest\test_env\lib\site-packages\flask\app.py", line 997, in register_blueprint
blueprint.register(self, options)
File "F:\flasktest\test_env\lib\site-packages\flask\blueprints.py", line 310, in register
raise ValueError(
ValueError: The name 'blog' is already registered for this blueprint. Use 'name=' to provide a unique name.

from h.

Guozhuohang avatar Guozhuohang commented on September 18, 2024

在进入flask shell时报的错

from h.

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.