ok .. i did it but it make my env with python3.5
On Wednesday, May 22, 2019 at 3:09:37 PM UTC+2, Nick Sarbicki wrote: > > Hi Omar, > > It is generally recommended to _not_ set python3 as your system default. > This is stated in PEP 394 > <https://www.python.org/dev/peps/pep-0394/#future-changes-to-this-recommendation>. > > The reasoning being there may be internal and third party processes which > still expect the default python to be 2.x. Updating the default to python3 > will likely break these and could cause unexpected problems. > > You can however create a virtualenv with python3 by simply running > *virtualenv > env -p python3*. > > It is also worth noting that as far as I know Heroku does support python3. > There is some documentation on this here > <https://devcenter.heroku.com/articles/python-runtimes>. > > - Nick > > > On Wed, May 22, 2019 at 1:48 PM omar ahmed <[email protected] > <javascript:>> wrote: > >> hello .. >> just finished my first project with django but i can not publish it >> because my default python is python 2.7.12 and Heroku now does not support >> it .. >> now i installed python 3.6.8 .... how can i set it as default python >> version to make my projects with virtualenv ? >> thanks in advance >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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/2dafe695-66c0-42a3-b92e-a71881401ab7%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/2dafe695-66c0-42a3-b92e-a71881401ab7%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/89c67f74-2ee9-4fdc-b300-9bd701a45a46%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

