I have a Heroku app that\'s running Node, but I need to be able to run Python scripts on this server. I\'m trying to install my Python dependencies but can\'t get it to work.>
I've solved it so:
I manually added the libraries with the specific versions into the file, in my case like this:
requests==2.7.0
beautifulsoup4==4.5.3
I created (If there is not) the file "runtime.txt" with with just one line: the python version i need, in my case:
python-2.7.14
I created the multibuildpacks with the two commands:
heroku buildpacks:set heroku/python
heroku buildpacks:add --index 1 heroku/nodejs
Finally, I continued with the git commands:
git add requirements.txt runtime.txt
git commit requirements.txt runtime.txt -m "requirements"
git push heroku master