Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread johnpaul mulongo
On Wednesday, May 22, 2019 at 3:48:16 PM UTC+3, omar ahmed 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

Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread James Schneider
No On Wed, May 22, 2019, 10:22 AM johnpaul mulongo wrote: > > > On Wednesday, May 22, 2019 at 3:48:16 PM UTC+3, omar ahmed 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 >>

Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread omar ahmed
thank you nick it works -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread Chetan Ganji
Hi Omar, I have added these settings to me ~/.bashrc file in Kubuntu 18.04. Same would work for rest of the linux with minor changes. First group would be your answer. Second groups of lines are used for virtualenv settings Third group of lines are to make my life easier by saving me typing the

Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread Aldian Fazrihady
Omar, if you upgraded your system to Ubuntu 18.04, it will install Python 3.6 for you. Aldian Fazrihady https://www.aldianfazrihady.com/en-us/ On Wed, May 22, 2019 at 9:22 PM omar ahmed wrote: > ok .. i did it but it make my env with python3.5 > > > On Wednesday, May 22, 2019 at 3:09:37 PM

Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread omar ahmed
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 >

Re: set python 3.6.8 default in my ubuntu

2019-05-22 Thread Nick Sarbicki
Hi Omar, It is generally recommended to _not_ set python3 as your system default. This is stated in PEP 394 . The reasoning being there may be internal and third party processes which still expect the default python

set python 3.6.8 default in my ubuntu

2019-05-22 Thread omar ahmed
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 --