Ask coding questions

← Back to all posts
how to install TA-Lib in python?
luke8137

Hello,

I run import talib in python but got some problems as below. How can I fix it?

Python 3.8.2 (default, Feb 26 2020, 02:56:10)

Repl.it: Updating package configuration

--> python3 -m poetry add talib-binary
Using version ^0.4.19 for talib-binary

Updating dependencies
Resolving dependencies...

Package operations: 1 install, 0 updates, 0 removals

  • Installing talib-binary (0.4.19)

[EnvCommandError]
Command ['/opt/virtualenvs/python3/bin/python', '-m', 'pip', 'install', '--n
o-deps', 'talib-binary==0.4.19'] errored with the following output:
ERROR: Could not find a version that satisfies the requirement talib-binary=
=0.4.19 (from versions: none)
ERROR: No matching distribution found for talib-binary==0.4.19

add [-D|--dev] [--path PATH] [--optional] [--platform PLATFORM] [--dry-run] <name> (<name>)...

exit status 1

Repl.it: Package operation failed.

Voters
HannahMoore5
DavidVega9
ard79
Comments
hotnewtop
shakthijagdish

i'm facing this issue now. Any idea how to solve it?

ard79

Hi,
I'm running into the same issue. Hope it will be solved soon.