Re: Installation of django

29 views
Skip to first unread message
Message has been deleted

Kasper Laudrup

unread,
Aug 20, 2019, 2:25:43 PM8/20/19
to django...@googlegroups.com
On August 20, 2019 4:31:32 PM GMT+02:00, Amit Samanta <amitsa...@gmail.com> wrote:
Hi,

I want to install django in linux server for python 2.7.2.
i am not able install django
Please help with the installation step for django in linux.


Thanks and Regards
Amit Samanta


https://docs.djangoproject.com/en/2.2/faq/install/

herve bineli

unread,
Aug 20, 2019, 4:39:34 PM8/20/19
to django...@googlegroups.com
Please, provide the errors you get when trying:

$ pip install --user django

on your shell

On Tue, Aug 20, 2019 at 4:44 PM Amit Samanta <amitsa...@gmail.com> wrote:
Hi,

I want to install django in linux server for python 2.7.2.
i am not able install django
Please help with the installation step for django in linux.


Thanks and Regards
Amit Samanta

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1972eeeb-da5d-4146-94a6-5ba8551a92ea%40googlegroups.com.


--
BINELI MANGA Hervé Arsène
Ingénieur Informaticien - ENSPY 2017
(+237) 691388922 / 678711903

Abu Yusuf

unread,
Aug 22, 2019, 4:35:09 AM8/22/19
to django...@googlegroups.com
First of all: don't use python2. It will be dead after 4 months.
create a virtual environment: virtualenv -p /usr/bin/python3.5 venv
then activate it: source venv/bin/activate
Then run pip install django.
That's it.

o1bigtenor

unread,
Aug 22, 2019, 6:38:10 AM8/22/19
to django...@googlegroups.com
On Thu, Aug 22, 2019 at 3:35 AM Abu Yusuf <yu...@binate-solutions.com> wrote:
>
> First of all: don't use python2. It will be dead after 4 months.
> create a virtual environment: virtualenv -p /usr/bin/python3.5 venv
> then activate it: source venv/bin/activate

Greetings

Curious as to why you wouldn't install python 3.7 at this point?

Regards

אורי

unread,
Aug 22, 2019, 7:31:11 AM8/22/19
to django...@googlegroups.com
I recommend Python 3.6 or 3.5. Some things are deprecated with Python 3.7. For example Django 1.11 runs DeprecationWarnings with Python 3.7.


--
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...@googlegroups.com.

Abu Yusuf

unread,
Aug 22, 2019, 7:36:21 AM8/22/19
to django...@googlegroups.com
It's just an example to let him know. You can use any version of python3 here. 
I did use this because it defaults on ubuntu 16.04 and for me it's a better combination with python3.5 and django2.0
I did make a lot of applications with these.

That's it. Cheers!

--
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...@googlegroups.com.

Virendra Tripathi

unread,
Aug 22, 2019, 7:47:34 AM8/22/19
to django...@googlegroups.com
Did you check the versions/ Django2.0 and above supports only Python3.
Virendra Tripathi

Santa Clara, CA


tri...@gmail.com


On Tue, Aug 20, 2019 at 9:14 PM Amit Samanta <amitsa...@gmail.com> wrote:
Hi,

I want to install django in linux server for python 2.7.2.
i am not able install django
Please help with the installation step for django in linux.


Thanks and Regards
Amit Samanta

--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages