Skip to content

Commit

Permalink
More troubleshooting.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Nov 11, 2018
1 parent 5e46a8b commit b085807
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ warnings.warn('Cannot find ta-lib library, installation may fail.')
This typically means ``setup.py`` can't find the underlying ``TA-Lib``
library, a dependency which needs to be installed.

If you installed the underlying ``TA-Lib`` library with a custom prefix
(e.g., with ``./configure --prefix=$PREFIX``), then when you go to install
this python wrapper you can specify additional search paths to find the
library and include files for the TA-Lib C library:

``sh
$ export TA_LIBRARY_PATH=$PREFIX/lib
$ export TA_INCLUDE_PATH=$PREFIX/include
$ python setup.py install # or pip install ta-lib
``

Sometimes installation will produce build errors like this:

```
Expand Down

0 comments on commit b085807

Please sign in to comment.