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

ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' #2

Open
schwabts opened this issue Sep 20, 2022 · 0 comments

Comments

@schwabts
Copy link

(env_f1stats_public) ...\Dash\F1STATS-public>  pip install -r requirements.txt
...
Successfully installed Flask-2.2.2 Jinja2-3.1.2 MarkupSafe-2.1.1 Werkzeug-2.2.2 beautifulsoup4-4.11.1 brotli-1.0.9 certifi-2022.9.14 charset-normalizer-2.1.1 click-8.1.3 colorama-0.4.5 dash-1.12.0 dash-bootstrap-components-0.10.3 dash-core-components-1.10.0 dash-html-components-1.0.3 dash-renderer-1.4.1 dash-table-4.7.0 dash-twitter-widget-0.0.1 flask-compress-1.12 future-0.18.2 gunicorn-19.9.0 idna-3.4 importlib-metadata-4.12.0 itsdangerous-2.1.2 numpy-1.18.2 pandas-1.0.3 plotly-5.10.0 python-dateutil-2.8.2 pytz-2022.2.1 requests-2.28.1 six-1.16.0 soupsieve-2.3.2.post1 tenacity-8.0.1 urllib3-1.26.12 wikipedia-1.4.0 zipp-3.8.1
WARNING: You are using pip version 20.2.3; however, version 22.2.2 is available.
You should consider upgrading via the '...\dash\f1stats-public\env_f1stats_public\scripts\python.exe -m pip install --upgrade pip' command.

(env_f1stats_public) ...\Dash\F1STATS-public> python app.py
Traceback (most recent call last):
  File "app.py", line 1, in <module>
    import dash
  File "...\Dash\F1STATS-public\env_f1stats_public\lib\site-packages\dash\__init__.py", line 1, in <module>
    from .dash import Dash, no_update  # noqa: F401
  File "...\Dash\F1STATS-public\env_f1stats_public\lib\site-packages\dash\dash.py", line 20, in <module>
    from werkzeug.debug.tbtools import get_current_traceback
ImportError: cannot import name 'get_current_traceback' from 'werkzeug.debug.tbtools' (...\Dash\F1STATS-public\env_f1stats_public\lib\site-packages\werkzeug\debug\tbtools.py)

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

No branches or pull requests

1 participant