Closed commonslok closed 3 years ago
in _validate_date raise NotImplementedError('no available data for year {}, only year between [{}, {}] supported'.format( NotImplementedError: no available data for year 2021, only year between [2004, 2020] supported
你应该用的不是最新版本,可以尝试升级到1.5.0版本,问题就解决了 pip install 'chinesecalendar>=1.5.0'
pip install 'chinesecalendar>=1.5.0'
in _validate_date raise NotImplementedError('no available data for year {}, only year between [{}, {}] supported'.format( NotImplementedError: no available data for year 2021, only year between [2004, 2020] supported