Traceback (most recent call last):


 "load_test.py", line 4, in <module>

_ = nbc(file_handle, format="json")


 "/usr/local/lib/python3.6/site-packages/textblob/classifiers.py", line 205, in __init__

super(NLTKClassifier, self).__init__(train_set, feature_extractor, format, **kwargs)


 "/usr/local/lib/python3.6/site-packages/textblob/classifiers.py", line 136, in __init__

self.train_set = self._read_data(train_set, format)


 "/usr/local/lib/python3.6/site-packages/textblob/classifiers.py", line 157, in _read_data

return format_class(dataset, **self.format_kwargs).to_iterable()


 "/usr/local/lib/python3.6/site-packages/textblob/formats.py", line 115, in __init__

self.dict = json.load(fp)


 "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 296, in load

return loads(fp.read(),
OSError: [Errno 22] Invalid argument

Traceback (most recent call last):


 "C:\Users\\Desktop\pixivpy-master\download_illusts.py", line 43, in <module>

main()


 "C:\Users\\Desktop\pixivpy-master\download_illusts.py", line 40, in main

aapi.download(image_url, path=directory, name=name)


 "C:\Users\\Desktop\pixivpy-master\pixivpy3\api.py", line 115, in download

with open(img_path, 'wb') as out_file:
OSError: [Errno 22] Invalid argument: 'dl\\illust_id_58166861_Pokemon Go?.jpg'
