-
Notifications
You must be signed in to change notification settings - Fork 13
heroku local python version #42
Comments
@kennethreitz do you have any idea? I'm not sure what is going on here |
I even tried |
Digging through Heroku CLI/util etc to see how my environment is interrogated. UPDATE: hint to look at node foreman. |
Foreman clearly finds System py27 (at "/Library/Python/2.7"):
|
#41 also tried here: strongloop/node-foreman#149 |
Heroku local is not aware of |
I recommend creating a virtualenv with the desired Python interpreter and activating it before invoking |
Thanks for the suggestions. So many moving parts: heroku, conda, python, foreman, gunicorn. I suspect the problem with OSX system python clashing with conda python somehow, and gunicorn not getting the correct environment (or the wrong/old gunicorn in Anyhoo, closing, as this is clearly not a heroku-local issue. |
Somewhat related to #41
Heroku local finds my Python 3.6 executable:
...but running my app with
heroku local
still croaks on py3 syntax when I tryruntime.txt
with:What else can I try?
The text was updated successfully, but these errors were encountered: