You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name: pygbif
Version: 0.6.3
Summary: Python client for GBIF
Home-page: http://github.com/gbif/pygbif
Author: Scott Chamberlain
Author-email: myrmecocystus@gmail.com
License: MIT
Location: /usr/local/lib/python3.10/dist-packages
Requires: appdirs, geojson-rewind, geomet, matplotlib, requests, requests-cache
Required-by:
Getting the following error upon import:
import pygbif
File "/usr/local/lib/python3.10/dist-packages/pygbif/__init__.py", line 44, in <module>
from .caching import caching
File "/usr/local/lib/python3.10/dist-packages/pygbif/caching.py", line 6, in <module>
from requests_cache import remove_expired_responses
ImportError: cannot import name 'remove_expired_responses' from 'requests_cache' (/usr/local/lib/python3.10/dist-packages/requests_cache/__init__.py)
The text was updated successfully, but these errors were encountered:
Update the requirements.txt file to restrict the requests-cache version to below 1.2. Add the following line:
requests-cache<1.2
Option 2 ensures no other changes introduced in requests-cache version 1.2 are implemented, but it's important to note that the remove_expired_responses method is deprecated.
This issue currently impedes new installations of pygbif.
python version: 3.10.12
pygbif version:
Getting the following error upon import:
The text was updated successfully, but these errors were encountered: