No module named 'dataretrieval.codes'
Created by: yfhuang7
Hi,
I got an error while import dataretrieval.nwis as nwis
, the dataretrieval.nwis uses dataretrieval.utils, but there is no dataretrieval.codes for it to import tz.
The error:
ModuleNotFoundError Traceback (most recent call last) in () ----> 1 import dataretrieval.nwis as nwis
C:\ProgramData\Anaconda3\lib\site-packages\dataretrieval\nwis.py in () 12 from io import StringIO 13 ---> 14 from dataretrieval.utils import to_str, format_datetime, update_merge 15 16 WATERDATA_URL = 'https://nwis.waterdata.usgs.gov/nwis/'
C:\ProgramData\Anaconda3\lib\site-packages\dataretrieval\utils.py in () 6 from pandas.core.indexes.datetimes import DatetimeIndex 7 ----> 8 from dataretrieval.codes import tz 9 10 def to_str(listlike):
ModuleNotFoundError: No module named 'dataretrieval.codes'