twauth-web icon indicating copy to clipboard operation
twauth-web copied to clipboard

Error running app after following steps in README

Open chase-manning opened this issue 2 years ago • 0 comments

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 avatar Oct 27 '23 14:10 chase-manning