Open Mgarcia1983 opened 7 years ago
@jpf
solved with running Python 2.7 on heroku
@darkzbaron I'm having the same issue. How did you set it so that 2.7 is installed instead of 3?
@darkzbaron Could you expand on how you set it to python 2.7? I can't seem to get anything to work!
I'll get back to you once I get my head around this.
Put that attatched "runtime.txt" file in the folder /sms-via-email
Make sure the update becomes registered when pushed:
Run git commit -am "setting python runtime"
Push it it:
git push heroku master
...or do it manually
In your /sms-via-email/ directory create a text file named "runtime.txt" (without the " ")
Inside that txt file put the following line, and that line ONLY:
python-2.7.17
As to why this works, I have no damn idea lol. I'm rather new with python, but I'm assuming something change after 2.7 to the source. runtime.txt
Use heroku stack 18 as heroku stack 20 does not support python 2.X any more . Then use python-2.7.18 in runtime.txt in project root directory .
@jpf -----> Python app detected
-----> Installing python-3.6.1
-----> Installing pip
-----> Installing requirements with pip
! Push rejected, failed to compile Python app.
! Push failed