Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running app after following steps in README #7

Open
chase-manning opened this issue Oct 27, 2023 · 0 comments · May be fixed by #8
Open

Error running app after following steps in README #7

chase-manning opened this issue Oct 27, 2023 · 0 comments · May be fixed by #8

Comments

@chase-manning
Copy link

One line summary of the issue here.

Expected behavior

The app should run after following the steps in the readme and running python3 ./twauth-web.py or gunicorn twauth-web:app.

Actual behavior

Error:

> python3 ./twauth-web.py
Traceback (most recent call last):
  File "/Users/user/Documents/GitHub/twauth-web/./twauth-web.py", line 2, in <module>
    from flask import Flask, render_template, request, url_for
  File "/Users/user/.local/share/virtualenvs/twauth-web-gtoEGit_/lib/python3.11/site-packages/flask/__init__.py", line 17, in <module>
    from werkzeug.exceptions import abort
  File "/Users/user/.local/share/virtualenvs/twauth-web-gtoEGit_/lib/python3.11/site-packages/werkzeug/__init__.py", line 151, in <module>
    __import__('werkzeug.exceptions')
  File "/Users/user/.local/share/virtualenvs/twauth-web-gtoEGit_/lib/python3.11/site-packages/werkzeug/exceptions.py", line 71, in <module>
    from werkzeug.wrappers import Response
  File "/Users/user/.local/share/virtualenvs/twauth-web-gtoEGit_/lib/python3.11/site-packages/werkzeug/wrappers.py", line 27, in <module>
    from werkzeug.http import HTTP_STATUS_CODES, \
  File "/Users/user/.local/share/virtualenvs/twauth-web-gtoEGit_/lib/python3.11/site-packages/werkzeug/http.py", line 1148, in <module>
    from werkzeug.datastructures import Accept, HeaderSet, ETags, Authorization, \
  File "/Users/user/.local/share/virtualenvs/twauth-web-gtoEGit_/lib/python3.11/site-packages/werkzeug/datastructures.py", line 16, in <module>
    from collections import Container, Iterable, MutableSet
ImportError: cannot import name 'Container' from 'collections' (/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/collections/__init__.py

Steps to reproduce the behavior

I'm using Python 3.11 if that helps

@chase-manning chase-manning linked a pull request Oct 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant