TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.81k stars 1.78k forks source link

install ta-lib on python 3.11 using conda forge #581

Closed arturdaraujo closed 1 year ago

arturdaraujo commented 1 year ago

I get this error while trying to install ta-lib:

(base) artur@LAPTOP-80C5GA6H:~$ mamba create -n py311 python=3.11 ta-lib

Looking for: ['python=3.11', 'ta-lib']

conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache
Could not solve for environment specs
Encountered problems while solving:
  - package ta-lib-0.4.19-py310h96516ba_3 requires python_abi 3.10.* *_cp310, but none of the providers can be installed

The environment can't be solved, aborting the operation

Is ta-lib already compatible with python 3.11 on pypi? When will it be updated on conda-forge?

mrjbq7 commented 1 year ago

ta-lib works great on python 3.11.

i have no idea how/who updates conda

arturdaraujo commented 1 year ago

At conda-forge is still missing the update. I think it does update when they release a new version on PyPI or GitHub. Otherwise, someone needs to update the feedstock to allow python 3.11 compatibility.

Python 3.11 is much faster, so that update would be nice.

mrjbq7 commented 1 year ago

Okay, well I just pushed version 0.4.26 which had a couple minor changes so maybe that will trigger an upstream conda-forge build...