ta-lib-python
ta-lib-python copied to clipboard
can not compile ta-lib with Nuitka
- Compile binary with Nuitka
- Run the binary, it show error:
(talib) X:\stock\code\tastock\tusc.dist>tusc.exe
Traceback (most recent call last):
File "X:\stock\code\tastock\tusc.dist\tusc.py", line 3, in
I have never tested with that.
Can you provide some instructions on how to compile the Cython bindings using Nuitka?
Thanks,
On Apr 15, 2021, at 1:59 AM, jonozw @.***> wrote:
Compile binary with Nuitka Run the binary, it show error: (talib) X:\stock\code\tastock\tusc.dist>tusc.exe Traceback (most recent call last): File "X:\stock\code\tastock\tusc.dist\tusc.py", line 3, in File "X:\stock\code\tastock\tusc.dist\talib_init_.py", line 72, in ModuleNotFoundError: No module named 'talib.stream'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
The instruction to compile python with cython using Nuitka is
nuitka --standalone --plugin-enable=numpy --plugin-enable=pylint-warnings --windows-disable-console hello.py
The compilation was completed without problem.
It is runtime error. "ModuleNotFoundError: No module named 'talib.stream'"
line 72: stream = import("stream", globals(), locals(), stream_func_names, level=1)
Nuitka's repo is: https://github.com/Nuitka/Nuitka
Same Problem Here