467 浏览
0

Traceback (most recent call last):
File “c:/Users/Henry/Documents/python/全品种_macd_1.04.py”, line 104, in <module>
from tqsdk2 import TqApi, TqBacktest, TqKq, TqAccount, TqSim, tafunc
File “C:\ProgramData\Anaconda3\lib\site-packages\tqsdk2\__init__.py”, line 50, in <module>
ctypes.cdll.LoadLibrary(os.path.join(this_dir, name))
File “C:\ProgramData\Anaconda3\lib\ctypes\__init__.py”, line 459, in LoadLibrary
return self._dlltype(name)
File “C:\ProgramData\Anaconda3\lib\ctypes\__init__.py”, line 381, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module ‘C:\ProgramData\Anaconda3\lib\site-packages\tqsdk2\lib\boost_iostreams-vc142-mt-x64-1_73.dll’ (or one of its dependencies). Try using the full path with constructor syntax.

那么,为什么不安装最新版呢?因为最新版根本装不上,安装过程中就跳出一片红字提示。我只好往前找旧版本,找了个1.3.1

已回答的问题
0

请提供一下你的python版本,操作系统版本等信息

已回答的问题
您正在查看1个答案中的1个,单击此处查看所有答案。