新手小白,不懂就问,向各位大佬请教
下载vnpy_ctp,在安装的过程中遇到问题
成功pip install vnpy_ctp,之后运行脚本script/run.py出现以下报错:
Traceback (most recent call last):
File "C:/Users/WIN10/Desktop/vnpy_ctp-main/script/run.py", line 5, in <module>
from vnpy_ctp import CtpGateway
File "C:\Users\WIN10\Desktop\vnpy_ctp-main\vnpy_ctp__init.py", line 26, in <module>
from .gateway import CtpGateway
File "C:\Users\WIN10\Desktop\vnpy_ctp-main\vnpy_ctp\gateway\init.py", line 1, in <module>
from .ctp_gateway import CtpGateway
File "C:\Users\WIN10\Desktop\vnpy_ctp-main\vnpy_ctp\gateway\ctp_gateway.py", line 32, in <module>
from ..api import (
File "C:\Users\WIN10\Desktop\vnpy_ctp-main\vnpy_ctp\api\init__.py", line 1, in <module>
from .vnctpmd import MdApi
ImportError: Module use of python310.dll conflicts with this version of Python.
想请问怎么解决……