Giter Club home page Giter Club logo

flask's Introduction

flask's People

Contributors

keatonh avatar liks79 avatar ttoggai avatar wikibook avatar yangis1019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask's Issues

No module named werkzeug.contrib error

I am having some problems with the library version or dependency in chapter 5.
I am working with python 3.8, werkzeug version 2.0.1
This is the error I get.
`2021-08-10 11:15:00,684 - INFO - static folder : /home/jypark/Documents/GitHub/WebDevelopment/flask-repo/wikibooks/ch05/photolog/photolog/../static
2021-08-10 11:15:00,684 - INFO - template folder : ../templates
Traceback (most recent call last):
File "/home/jypark/Documents/GitHub/WebDevelopment/flask-repo/wikibooks/ch05/photolog/runserver.py", line 14, in
application = create_app()
File "/home/jypark/Documents/GitHub/WebDevelopment/flask-repo/wikibooks/ch05/photolog/photolog/init.py", line 81, in create_app
from photolog.cache_session import SimpleCacheSessionInterface
File "/home/jypark/Documents/GitHub/WebDevelopment/flask-repo/wikibooks/ch05/photolog/photolog/cache_session.py", line 17, in
from werkzeug.contrib.cache import NullCache, SimpleCache, RedisCache
ModuleNotFoundError: No module named 'werkzeug.contrib'

Process finished with exit code 1'

I tried to downgrade the werkzeug version to 1.0.0 with pip install werkzeug==1.0.0
but then I get this error
`Traceback (most recent call last):
File "/home/jypark/Documents/GitHub/WebDevelopment/flask-repo/wikibooks/ch05/photolog/runserver.py", line 12, in
from photolog import create_app
File "/home/jypark/Documents/GitHub/WebDevelopment/flask-repo/wikibooks/ch05/photolog/photolog/init.py", line 15, in
from flask import Flask, render_template, request, url_for
File "/home/jypark/virenv/flask-env/lib/python3.8/site-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/home/jypark/virenv/flask-env/lib/python3.8/site-packages/flask/app.py", line 19, in
from werkzeug.local import ContextVar
ImportError: cannot import name 'ContextVar' from 'werkzeug.local' (/home/jypark/virenv/flask-env/lib/python3.8/site-packages/werkzeug/local.py)

Process finished with exit code 1`
Did anyone else have the same problem?
Thanks in advance!

오류발생 해결문의

안녕하세요. 공부하다 오류가 발생해 더 이상 진행을 할 수가 없어 문의드립니다.

이클립스에서 ch02 hello.py 실행 시 아래와 같은 오류가 나는데
웹서버를 추가로 설치해야 하나요?

조치방법을 구체적으로 부탁드립니다.

<오류내용>

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.