Traceback (most recent call last):


 "main.py", line 64, in <module>

main()


 "main.py", line 20, in main

Query.check_before_run()


 "/Users/alterem/Documents/my-finishing/py12306/py12306/query/query.py", line 59, in check_before_run

self = cls()


 "/Users/alterem/Documents/my-finishing/py12306/py12306/helpers/func.py", line 30, in singleton_new

it.__init_original__(*args, **kw)


 "/Users/alterem/Documents/my-finishing/py12306/py12306/query/query.py", line 35, in __init__

self.get_query_api_type()


 "/Users/alterem/Documents/my-finishing/py12306/py12306/query/query.py", line 154, in get_query_api_type

self.api_type = res.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):


 "/usr/local/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map

return self.__dep_map


 "/usr/local/anaconda3/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__

raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
