Skip to content

Commit b085807

Browse files
committed
More troubleshooting.
1 parent 5e46a8b commit b085807

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ warnings.warn('Cannot find ta-lib library, installation may fail.')
4545
This typically means ``setup.py`` can't find the underlying ``TA-Lib``
4646
library, a dependency which needs to be installed.
4747

48+
If you installed the underlying ``TA-Lib`` library with a custom prefix
49+
(e.g., with ``./configure --prefix=$PREFIX``), then when you go to install
50+
this python wrapper you can specify additional search paths to find the
51+
library and include files for the TA-Lib C library:
52+
53+
``sh
54+
$ export TA_LIBRARY_PATH=$PREFIX/lib
55+
$ export TA_INCLUDE_PATH=$PREFIX/include
56+
$ python setup.py install # or pip install ta-lib
57+
``
58+
4859
Sometimes installation will produce build errors like this:
4960

5061
```

0 commit comments

Comments
 (0)