I am currently developing an investment consultant websitewhere I want to use TA-Lib(http://ta-lib.org/).I also want to use Python wrapper for TA-Lib(http://mrjbq7.github.io/ta-lib/index.html).I am on Windows 7 Professional 32-bit.But the problem is I am unable to use TA-Libfrom my python programs.I have installed python 3.2 and numpy.Installation instructions on this page(http://mrjbq7.github.io/ta-lib/install.html)are not good enough.So, what do I have to do in order to successfullyimport TA-Lib from my programs?This is my first post in this forum.Please help me.

setrofim wrote:What do you mean when you say that you are unable to use TA-lib? Be more specific. What exact error are you getting when you import talib in python console (or when you try to install it)?

OK, so Python can't find talib. Check if there is a talib.py or a talib folder in "C:\PythonXX\LIb\site-packages' (where XX is the version of python you're using). If it isn't then something went wrong during the install -- try re-running 'python setup.py install' in the unzipped directory. If it is in there, then you may be invoking a different version of Python (if you have more than one on the system) -- in this case, try invoking python with full path, i.e. "C:\PythonXX\python.exe your_script.py".

setrofim wrote:OK, so Python can't find talib. Check if there is a talib.py or a talib folder in "C:\PythonXX\LIb\site-packages' (where XX is the version of python you're using). If it isn't then something went wrong during the install -- try re-running 'python setup.py install' in the unzipped directory. If it is in there, then you may be invoking a different version of Python (if you have more than one on the system) -- in this case, try invoking python with full path, i.e. "C:\PythonXX\python.exe your_script.py".

There is no talib.py or a talib folder in "C:\Python32\LIb\site-packages"There is no setup.py in the unzipped directory.I am not invoking a different version of Python because I have only version 3.2 installed in my PC.

OK, I see. You have misunderstood the docs. Read the first part. What you've done is download and install TA-Lib iteself. You still need to download and install the Python module to interface with it. Todo that, either run easy_install, or download the module (click on one of the blue folders near the top of the page), unzip it and run 'python setup.py install' in that unzipped location.

OK, I see. You have misunderstood the docs. Read the first part. What you've done is download and install TA-Lib iteself. You still need to download and install the Python module to interface with it. Todo that, either run easy_install, or download the module (click on one of the blue folders near the top of the page), unzip it and run 'python setup.py install' in that unzipped location.

You are right.I have done what you have told me to do.Now I am getting this:

Start a VS Command Prompt. Either from your start menu if it's there, or just start a regular CMD.exe and run "C:\Program Files\Microsoft Visual Studo 10.0\Common\Tools\vsvars32.bat" in it (yes, vsvars32.bat, not vcvarsall.bat). It should tell you that it's setting up the environment.

Heve you run this setup.py in a command prompt configured as described in my previous post? Where is cl.exe on your system? Also it seems it cannot find the ta lib headers. Check that "C:\ta-lib\c\include" directory exists and that it has ta_libc.h in it.

Yes, a lot of C extensions will give you some kind of warnings during compilation and it is usually safe to ignore them. Try using ta-lib to manipulate a know set of inputs, and if you're getting results you'd expect, I wouldn't worry about it.

Yes, a lot of C extensions will give you some kind of warnings during compilation and it is usually safe to ignore them. Try using ta-lib to manipulate a know set of inputs, and if you're getting results you'd expect, I wouldn't worry about it.