Skip to content

Commit 38b56d6

Browse files
committed
Update readme with TA-Lib#86 troubleshooting suggestion.
1 parent 65b0e65 commit 38b56d6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,23 @@ compilation terminated.
4242
This typically means that it can't find the underlying ``TA-Lib`` library,
4343
a dependency which needs to be installed.
4444

45+
Sometimes installation will fail with errors like this:
46+
47+
```
48+
talib/common.c:8:22: fatal error: pyconfig.h: No such file or directory
49+
#include "pyconfig.h"
50+
^
51+
compilation terminated.
52+
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
53+
```
54+
55+
This typically means that you need the Python headers, and should run
56+
something like:
57+
58+
```
59+
$ sudo apt-get install python3-dev
60+
```
61+
4562
### Dependencies
4663

4764
To use TA-Lib for python, you need to have the

0 commit comments

Comments
 (0)