How to deploy a nodejs app that uses python scripts on heroku
All I had to do was add a requirements.txt file to my project and run: heroku buildpacks:add --index 1 heroku/python -a appname
I have a basic nodejs app that works fine on its own on heroku, but I want to add a python script that nodejs will call that uses a numpy package. I have gotten it to work on my local host but I am struggling to get it to work on heroku as it does not recognise the numpy package and I cannot seem to install it with pip as it does not get recognised either.