424 浏览
0

阿里云ECS上原来运行一切正常,原环境为Win Server 2012R2,Python 3.8.5。在新服务器上安装相同环境,尝试了Win Server 2012R2和Win Server 2008R2系统,Python 3.8.5都安装正常,但在按照说明一键安装tqsdk时

pip install tqsdk -U -i https://pypi.tuna.tsinghua.edu.cn/simple –trusted-host=pypi.tuna.tsinghua.edu.cn

都报错,原因似乎是scipy模块安装失败,截图如下

麻烦看一下是哪个dependency出了问题……

李思恒 发表新评论 2023年11月13日

查到了。我的python是32位版本的,而scipy太新的版本不支持32位python,手动先安装scipy 1.9.1
pip install scipy==1.9.1 -U -i https://pypi.tuna.tsinghua.edu.cn/simple –trusted-host=pypi.tuna.tsinghua.edu.cn
之后问题解决

好的,感谢回复