Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

ImportError: cannot import name 'cached_property' from 'werkzeug' #6

Open
smischke opened this issue Mar 24, 2022 · 0 comments
Open

Comments

@smischke
Copy link

When running python3 install/setup.py I get the following error:

Traceback (most recent call last):
  File "/srv/lxc-rest/install/setup.py", line 3, in <module>
    import create_db
  File "/srv/lxc-rest/install/create_db.py", line 9, in <module>
    from app.models import *
  File "/srv/lxc-rest/app/__init__.py", line 6, in <module>
    from flask_restplus import Api
  File "/usr/local/lib/python3.9/dist-packages/flask_restplus/__init__.py", line 4, in <module>
    from . import fields, reqparse, apidoc, inputs, cors
  File "/usr/local/lib/python3.9/dist-packages/flask_restplus/fields.py", line 12, in <module>
    from werkzeug import cached_property
ImportError: cannot import name 'cached_property' from 'werkzeug' (/usr/lib/python3/dist-packages/werkzeug/__init__.py)

I'm on Debian 11. Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant