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

Traceback (most recent call last):
File "e:\vnstudio\lib\site-packages\vnstation\cli.py", line 83, in run_trader
module = importlib.import_module(d["module"])
File "e:\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 "e:\vnstudio\lib\site-packages\vnpy\gateway\ctp\
init.py", line 1, in <module>
from .ctp_gateway import CtpGateway
File "e:\vnstudio\lib\site-packages\vnpy\gateway\ctp\ctp_gateway.py", line 9, in <module>
from vnpy.api.ctp import (
File "e:\vnstudio\lib\site-packages\vnpy\api\ctp\
init__.py", line 1, in <module>
from .vnctpmd import MdApi
ImportError: DLL load failed: 拒绝访问。

通过pycharm就打开了一下E:\vnstudio\Lib\site-packages\vnpy
没有做任何修改 就出现这个报错 有大神解决一下吗

Member
avatar
加入于:
帖子: 794
声望: 40

那请安装vcredist 2015-2019试试看

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