numrut / heroku-buildpack-python-talib Goto Github PK
View Code? Open in Web Editor NEWHeroku Buildpack with Python TA-Lib package
License: MIT License
Heroku Buildpack with Python TA-Lib package
License: MIT License
My name is Jon Byrum and I’m a product manager at Heroku. Your buildpack is one of the top 200 most popular buildpacks on Heroku!
I would like to invite you to publish your buildpack early in our Buildpack Registry, before it is made available to the general public (expected early July).
To register your buildpack, visit: https://addons-next.heroku.com/buildpacks
Documentation: https://devcenter.heroku.com/articles/buildpack-registry
Why register?
heroku buildpacks:search
. In the future, we will only display registered buildpacks on elements.heroku.com/buildpacksRecommended naming conventions:
It would be greatly appreciated if you could publish before June 18th, as we prepare to make the feature publicly available. Registering a buildpack should take approximately 5 minutes.
If you have any questions about registering (or run into any issues), please email:
[email protected]
Hi, I have been trying to use this buildpack, but without success.
I performed:
It is also detected:
-----> Building on the Heroku-20 stack
-----> Using buildpacks:
1. heroku/python
2. numrut/ta-lib
However directly afterwards the pip requirements are installed, but never TA-Lib. As a result, talib is not found in the program.
I tried with python 3.9.10 and python 3.7.12.
I tried with the URL instead of numrut/ta-lib
I tried to make my requirements.txt almost empty.
Here you write, not to put TA-Lib in the requirements: https://stackoverflow.com/questions/43453953/how-to-install-python-library-in-heroku
I also tried to install manually, using this script (very similar to your actually):
https://github.com/polakowo/vectorbt/blob/master/scripts/install-talib.sh
Until "make" it works. But at "sudo make install", it fails. With sudo because we don't have those rights. Without I get:
"
Making install in src
make[1]: Entering directory '/app/ta-lib/src'
Making install in ta_abstract
make[2]: Entering directory '/app/ta-lib/src/ta_abstract'
make[3]: Entering directory '/app/ta-lib/src/ta_abstract'
make[3]: Nothing to be done for 'install-exec-am'.
test -z "/usr/include/ta-lib/" || /usr/bin/mkdir -p "/usr/include/ta-lib/"
/usr/bin/mkdir: cannot create directory '/usr/include/ta-lib/': Read-only file system
make[3]: *** [Makefile:863: install-libta_abstractHEADERS] Error 1
make[3]: Leaving directory '/app/ta-lib/src/ta_abstract'
make[2]: *** [Makefile:966: install-am] Error 2
make[2]: Leaving directory '/app/ta-lib/src/ta_abstract'
make[1]: *** [Makefile:283: install-recursive] Error 1
make[1]: Leaving directory '/app/ta-lib/src'
make: *** [Makefile:283: install-recursive] Error 1
"
As your script basically does the same
"
echo "Install..." | indent
make install > /dev/null 2>&1
echo "TA-Lib library successfully installed" | indent
"
Do you know what is happening? I am slowly wondering if there is a way to install TA-Lib on Heroku right-now...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.