我正在尝试为Ta-LIB
安装包装器。我尝试使用:
pip install ta-lib
我发现我需要编译talib
库。所以我下载了该文件,并解压缩了c:\ta-lib
然后,我按照以下说明进行操作:
在Windows 10上安装TA-Lib C库
下载并解压缩ta-lib-0.4.0-msvc.zip
但是我收到以下错误:
C:\ta-lib\c\make\cdr\win32\msvc>nmake.exe
Microsoft (R) Program Maintenance Utility Version 14.00.24231.0
Copyright (C) Microsoft Corporation. All rights reserved.
cd ta_common
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" /nologo
cl -c -nologo -W3 -MD -O2 -DWIN32 -D_MBCS -D_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\..\src\ta_common" -I"..\..\..\..\..\include" -Fo..\..\..\..\..\temp\cdr\ta_global.obj ..\..\..\..\..\src\ta_common\ta_global.c
ta_global.c
C:\Program Files (x86)\Windows Kits\10\include\10.0.16299.0\ucrt\corecrt.h(232): fatal error C1189: #error: Compiling Desktop applications for the ARM platform is not supported.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_ARM\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
如何在Windows和Python 3.5上正确安装包装程序?