Error running app after following steps in README · Issue #7 · xdevplatform/twauth-web · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Error running app after following steps in README #7

Open
@chase-manning

Description

@chase-manning

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

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

      TMZ Celebrity News – Breaking Stories, Videos & Gossip

      Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

      Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

      🎥 Watch TMZ Live

      TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.