Traceback (most recent call last):


 "/home/yangzhiwei/anaconda3/envs/allennlp/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/home/yangzhiwei/anaconda3/envs/allennlp/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/home/yangzhiwei/anaconda3/envs/allennlp/lib/python3.6/site-packages/allennlp/run.py", line 21, in <module>

run()


 "/home/yangzhiwei/anaconda3/envs/allennlp/lib/python3.6/site-packages/allennlp/run.py", line 18, in run

main(prog="allennlp")


 "/home/yangzhiwei/anaconda3/envs/allennlp/lib/python3.6/site-packages/allennlp/commands/__init__.py", line 101, in main

import_submodules(package_name)


 "/home/yangzhiwei/anaconda3/envs/allennlp/lib/python3.6/site-packages/allennlp/common/util.py", line 325, in import_submodules

path_string = '' if not path else path[0]
TypeError: '_NamespacePath' object does not support indexing

Traceback (most recent call last):


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start

resp = await self._request_handler(request)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/aiohttp/web_app.py", line 310, in _handle

resp = await handler(request)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl

return await handler(request)


 "/Users/wuyazi/italki/mississippi/src/middlewares/error.py", line 11, in middleware_handler

response = await handler(request)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 741, in _iter

resp = await method()


 "/Users/wuyazi/italki/mississippi/src/common/validate.py", line 31, in wrapper

return await func(self, *args, **kwargs)


 "/Users/wuyazi/italki/mississippi/src/apis/refund.py", line 35, in post

fee_type=params.get('fee_type', 'CNY'))


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/wechatpy/pay/api/refund.py", line 43, in apply

return self._post('secapi/pay/refund', data=data)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/wechatpy/pay/base.py", line 18, in _post

return self._client.post(url, **kwargs)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/wechatpy/pay/__init__.py", line 193, in post

**kwargs


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/wechatpy/pay/__init__.py", line 138, in _request

**kwargs


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/requests/sessions.py", line 530, in request

resp = self.send(prep, **send_kwargs)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/requests/sessions.py", line 643, in send

r = adapter.send(request, **kwargs)


 "/Users/wuyazi/.local/share/virtualenvs/mississippi-uec03K_7/lib/python3.6/site-packages/requests/adapters.py", line 514, in send

raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.mch.weixin.qq.com', port=443): Max retries exceeded with url: /secapi/pay/refund (Caused by SSLError(SSLError(336445449, '[SSL] PEM lib (_ssl.c:3401)'),))
