Hi again,

Great that you get it running.

The reason for it not upgrading the python version is that you need to
specify it in a special way on Heroku. I had the same problem - you just
need to look at the following:
https://devcenter.heroku.com/articles/python-runtimes#selecting-a-runtime

Add a file called runtime.txt, add the following contents:

python-3.6.6


Regards,

Andréas


Den ons 24 okt. 2018 kl 12:27 skrev Mo-rema07 <[email protected]>:

> Thanks, I installed cheetah3 and I am no longer getting the same error
> message. However, regardless of the python version in my pipfile or
> requirements.txt Hereku installs python-3.6.5 What could be the reason for
> this?
>
> On Monday, October 22, 2018 at 7:24:51 PM UTC+2, Andréas Kühne wrote:
>>
>> The problem you are having has nothing to do with the python version.
>> What heroku is saying is that you should change to python 3.6.6 which you
>> do by adding a file to the project - see
>> https://devcenter.heroku.com/articles/deploying-python.
>>
>> The problem you are getting (and that hinders you from installing your
>> application) is that you are using a python 2.7 compatible plugin (Cheetah)
>> - that doesn't have any python 3 code. The error is that the code is not
>> python 3 compatible. (the syntax error you are getting at the end shows
>> this) - to install a Cheetah that you can use, install cheetah3.
>>
>> Regards,
>>
>> Andréas
>>
>>
>> Den mån 22 okt. 2018 kl 14:21 skrev Mo-rema07 <[email protected]>:
>>
>>> Hello people,
>>>
>>> Can I please get help? I am a noob using a Lenovo V110 running Ubuntu
>>> 18.04. I am getting an  error that I am using python 3.6.5 instead of
>>> 3.6.6. However when I check the python version using "python3 --version" I
>>> find that my version is 3.6.6. Can someone please help I have been
>>> struggling with this issue for about 2 weeks and I cannot find the solution
>>> online.
>>>
>>> Thank you
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/7dc30e45-81f9-4ce0-8635-814651c3e340%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/7dc30e45-81f9-4ce0-8635-814651c3e340%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/2c7db603-e5a4-4f4c-98ad-666760e70d4d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/2c7db603-e5a4-4f4c-98ad-666760e70d4d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCcbyg%3DJ%2BLFXWgDj2Nzu2c8x8o0ZNtpDqPTOJg%2BmB8xJuA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to