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 'cached_property' from 'functools' (/usr/lib/python3.7/functools.py) #289

Open
Gui-FernandesBR opened this issue Nov 4, 2022 · 1 comment

Comments

@Gui-FernandesBR
Copy link

Hello, is it possible to use cached_property using python 3.7 ? I'm facing the following problem, which I think is related to 3.7 but I am not sure. The setup.py file says that there's compatibility with python 3.7 so I'm curious

To reproduce the error:

  • Open a Google Collaboratory session (or any fresh environment with 3.7)
  • Try to import cached property: from functools import cached_property
  • You might see this result:
    image
@Gui-FernandesBR
Copy link
Author

Possible workaround solution (but the setup.py file need to change, then): https://stackoverflow.com/a/19979379/19971645

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