python-metallum icon indicating copy to clipboard operation
python-metallum copied to clipboard

No module named 'requests_cache.core'

Open ghost opened this issue 3 years ago • 2 comments

The rest of the modules are just fine, requests_cache included but requests_cache.core doesn't seem to be a thing? I've tried on two computers and both fail. Removing the import and the one time it is used at line 22 resolves the issue for me

ghost avatar Jan 15 '22 20:01 ghost

Changing from requests_cache.core import remove_expired_responses to from requests_cache import remove_expired_responses, see this page for more details:

https://requests-cache.readthedocs.io/en/latest/user_guide/troubleshooting.html

trislee avatar Mar 01 '22 04:03 trislee

I have found workaround. Install requests_cache version 0.6.4, or just add it to your requirements.txt requests_cache==0.6.4

lordofinsomnia avatar Sep 10 '22 07:09 lordofinsomnia