Frustratingly having a lot of difficult installing the TA-Lib package in python.
https://pypi.python.org/pypi/TA-Lib
I have read through all the forum posts
I faced the same problems trying with Anaconda 5.1.0 and Python 3.6 via Visual Studio.
The solution was to get a wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs, then install it via pip. You need to make sure the wheel matches your python version (in my case, 3.6).
In Anaconda, I just opened a prompt, navigated to where the wheel was, and ran the following:
python -m pip install TA_Lib-0.4.17-cp36-cp36m-win_amd64.whl
For Visual Studio, it was more obtuse. Go to the Python Environments tab, choose 'Overview' in the dropdown, then `Open in PowerShell'. At that point, run the same command as for ANaconda above.