vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 2
声望: 0

Traceback (most recent call last):
File "c:\vnstudio\lib\site-packages\vnstation\cli.py", line 83, in run_trader
module = importlib.import_module(d["module"])
File "c:\vnstudio\lib\importlib__init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "c:\vnstudio\lib\site-packages\vnpy\gateway\huobi\
init.py", line 1, in <module>
from .huobi_gateway import HuobiGateway
File "c:\vnstudio\lib\site-packages\vnpy\gateway\huobi\huobi_gateway.py", line 18, in <module>
from vnpy.api.rest import RestClient, Request
File "c:\vnstudio\lib\site-packages\vnpy\api\rest\
init__.py", line 1, in <module>
from .rest_client import Request, RequestStatus, RestClient
File "c:\vnstudio\lib\site-packages\vnpy\api\rest\rest_client.py", line 14, in <module>
requests.packages.urllib3.contrib.pyopenssl.extract_from_urllib3()
AttributeError: module 'urllib3.contrib' has no attribute 'pyopenssl'

报错完就窗口也没有弹出,很奇怪

Member
avatar
加入于:
帖子: 10
声望: 1

更新到2.1.9.1版本

Member
avatar
加入于:
帖子: 2
声望: 0

来未来 wrote:

更新到2.1.9.1版本
谢谢,进去了,连了API又报错,能不能帮忙看看
触发异常,状态码:<class 'requests.exceptions.ConnectionError'>,信息:HTTPSConnectionPool(host='api.huobipro.com', port=443): Max retries exceeded with url:

Member
avatar
加入于:
帖子: 128
声望: 3

服务器或者网络问题,试试香港阿里云吧
novashi wrote:

来未来 wrote:

更新到2.1.9.1版本
谢谢,进去了,连了API又报错,能不能帮忙看看
触发异常,状态码:<class 'requests.exceptions.ConnectionError'>,信息:HTTPSConnectionPool(host='api.huobipro.com', port=443): Max retries exceeded with url:

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3

沪公网安备 31011502017034号