Skip to content

Error running app after following steps in README #7

Description

@chase-mew

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/python@3.11/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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions