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
Traceback (most recent call last):
File "........./anaconda3/envs/tmp/bin/landsat", line 33, in <module>
sys.exit(load_entry_point('Landsat578==0.5.1', 'console_scripts', 'landsat')())
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/pkg_resources/__init__.py", line 488, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2872, in load_entry_point
return ep.load()
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2472, in load
return self.resolve()
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2478, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/landsat/landsat_cli.py", line 26, in <module>
from landsat.google_download import GoogleDownload
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/landsat/google_download.py", line 36, in <module>
from landsat.update_landsat_metadata import update_metadata_lists, get_wrs_shapefiles
File "........./anaconda3/envs/tmp/lib/python3.7/site-packages/landsat/update_landsat_metadata.py", line 24, in <module>
from pandas.io.common import EmptyDataError
ImportError: cannot import name 'EmptyDataError' from 'pandas.io.common' (........./anaconda3/envs/tmp/lib/python3.7/site-packages/pandas/io/common.py)
Apparently, in the mean time, EmptyDataError moved from pandas.io.common to pandas.errors, ref pandas-dev/pandas#37978
Changing landsat/update_landsat_metadata.py line 24 from
from pandas.io.common import EmptyDataError
to
from pandas.errors import EmptyDataError
clears the issue.
The text was updated successfully, but these errors were encountered:
When building/running landsat using python 3.8.6 and pandas 1.1.4, and executing the proposed command line
an error is generated and the script stops:-
Apparently, in the mean time, EmptyDataError moved from
pandas.io.common
topandas.errors
, ref pandas-dev/pandas#37978Changing
landsat/update_landsat_metadata.py
line 24 fromto
clears the issue.
The text was updated successfully, but these errors were encountered: