Wednesday, August 31, 2016

Re: Getting Start Django

It's nice that you are on Ubuntu. :)  Here is a quick and dirty way to get up to speed, (going to assume you will use python3)

# Installing virtualenv globally
$ sudo apt-get update
$ sudo apt
-get install python3-pip
$ sudo pip3 install virtualenv

Once you have that done, navigate to an empty directory to create a new virtualenv folder, activate it, and install django!

$ mkdir test
$ cd test
$ virtualenv
--python=python3 VENV
$ source VENV
/bin/activate
(VENV)$ pip install django
(VENV)$ django-admin startproject mysite


...


(VENV)$ deactivate     # to turn off the virutualenv, or just close the terminal session
$



Yours,
Abraham V.








On Wednesday, 31 August 2016 17:47:18 UTC+5:30, jsroyal wrote:
Hello guys,
    I am newbie in Django and started learning with Standard Documentation version: 1.10.
I
already Install
Django 1.10 and Python 3.4 in Linux Ubuntu 15.04  But in first phage I got some problem
I type command

django-admin startproject mysite
error:
Cannot find installed version of python-django or python3-django
Need some help to get out.
Stay strong
JS

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/28f0e8f0-9183-42f9-97fd-365286f432d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment