1.89K 浏览
0

from tqsdk2 import TqApi, TargetPosTask, TqAccount 导入模块时,提示:

Could not find module ‘C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\tqsdk2\lib\boost_iostreams-vc142-mt-x64-1_75.dll’ (or one of its dependencies). Try using the full path with constructor syntax.

查看库中这个DLL模块是存在的.软件环境是Server2016,Vscode

ringo 已回答的问题 2021年6月23日
0

到微软官网下载您机器上安装 python 对应版本的 vc_redist 文件运行安装即可。

https://www.microsoft.com/en-us/download/details.aspx?id=48145 
vc_redist.x64.exe(64 位 python)、 vc_redist.x86.exe(32 位 python)

ringo 已回答的问题 2021年6月23日
您正在查看1个答案中的1个,单击此处查看所有答案。