Installing TA-Lib on python x64
Asked Answered
R

2

3

I'm trying to install TA-Lib on Python, i'm using a x64 version so i can't install Ta-Lib using pip. I'm following these steps to run it but i have not clear the step 4: "Build the library nmake". I have opened the prompt but i don't really know how to build nmake, can anyone help me?

Rubirubia answered 14/1, 2018 at 15:46 Comment(1)
I faced the same problem and posted an answer on this SO question.Hardiness
F
1

in your env, run command: python --version, so you will know you python version. then download the appropriate wheel. if it is python 3.6, then download TA_Lib-0.4.15-cp36-cp36m-win_amd64.whl

Flatto answered 15/1, 2020 at 17:50 Comment(0)
O
0

nmake is the make version of the Microsoft Compiler Collection. You probably don't have Visual Studio installed.

See here:

You have several precompiled packages, including ta-lib

Octavo answered 14/1, 2018 at 16:16 Comment(6)
I installed visual studio, i was running the VS prompt. After downloading the precompiled package, should i put it on my python 3.6 folder and run pip3 install ta-lib?Rubirubia
Visual Studio was therefore not on your path. You can put the package anywhere. pip install packagename will take care of installing it to the right folderOctavo
So, i downloaded the file and tried pip install TA_Lib-0.4.15-cp37-cp37m-win_amd64.whl, it didn't work, the error i get is Requirement 'TA_Lib-0.4.15-cp37-cp37m-win_amd64.whl' looks like a filename, but the file does not exist TA_Lib-0.4.15-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.Rubirubia
If you are on Python 3.6 and download the wheel for Python 3.7, the installation is likely to failOctavo
I did not see that, sorry, i'm so stupid lol. Anyway, i used the same command with the right version and it didn't work eitherRubirubia
@Octavo I am currently using python 3.7, and i have tried installing pip install TA_Lib-0.4.15-cp37-cp37m-win_amd64.whl still i am getting ERROR: TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform..Angloirish

© 2022 - 2024 — McMap. All rights reserved.