heroku change python version
In runtime.txt add required version
python-3.9.5
like this
https://github.com/heroku/python-getting-started/blob/main/runtime.txt
supported vestions are
python-3.9.5
python-3.8.10
python-3.7.10
python-3.6.13
heroku change python version
In runtime.txt add required version
python-3.9.5
like this
https://github.com/heroku/python-getting-started/blob/main/runtime.txt
supported vestions are
python-3.9.5
python-3.8.10
python-3.7.10
python-3.6.13
heroku python heroku port issue
import os
port = int(os.environ.get('PORT', 33507)) # add these lines in code
app.run(host=args.host, port=port, debug=True)
heroku config:add PORT=33507 # run this command once you upadte the code in terminal
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us