Traceback (most recent call last):
File "/home/david/Source/HXL/3wtest/parse.py", line 76, in
run(scan_data, sys.stdout)
File "/home/david/Source/HXL/3wtest/parse.py", line 34, in run
parse_dataset(output, scan_row, countries)
File "/home/david/Source/HXL/3wtest/parse.py", line 39, in parse_dataset
dataset = hxl.data(url, http_headers={"User-Agent": "HDX-Developer-2015"})
File "/home/david/Source/HXL/3wtest/venv/lib/python3.9/site-packages/hxl/io.py", line 167, in data
return HXLReader(make_input(
File "/home/david/Source/HXL/3wtest/venv/lib/python3.9/site-packages/hxl/io.py", line 438, in make_input
return JSONInput(input, selector=selector, encoding=encoding)
File "/home/david/Source/HXL/3wtest/venv/lib/python3.9/site-packages/hxl/io.py", line 850, in init
self.json_data = self._select(selector, json.load(_input, encoding=encoding, object_pairs_hook=collections.OrderedDict))
File "/usr/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/init.py", line 359, in loads
return cls(**kw).decode(s)
TypeError: init() got an unexpected keyword argument 'encoding'
Traceback (most recent call last): File "/home/david/Source/HXL/3wtest/parse.py", line 76, in
run(scan_data, sys.stdout)
File "/home/david/Source/HXL/3wtest/parse.py", line 34, in run
parse_dataset(output, scan_row, countries)
File "/home/david/Source/HXL/3wtest/parse.py", line 39, in parse_dataset
dataset = hxl.data(url, http_headers={"User-Agent": "HDX-Developer-2015"})
File "/home/david/Source/HXL/3wtest/venv/lib/python3.9/site-packages/hxl/io.py", line 167, in data
return HXLReader(make_input(
File "/home/david/Source/HXL/3wtest/venv/lib/python3.9/site-packages/hxl/io.py", line 438, in make_input
return JSONInput(input, selector=selector, encoding=encoding)
File "/home/david/Source/HXL/3wtest/venv/lib/python3.9/site-packages/hxl/io.py", line 850, in init
self.json_data = self._select(selector, json.load(_input, encoding=encoding, object_pairs_hook=collections.OrderedDict))
File "/usr/lib/python3.9/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/init.py", line 359, in loads
return cls(**kw).decode(s)
TypeError: init() got an unexpected keyword argument 'encoding'