alex@alex-ESPRIMO-Mobile-U9200:~$ sudo apt-get install python-setuptools
далее
sudo easy_install virtualenv
virtualenv –no-site-packages djangoenv
alex@alex-ESPRIMO-Mobile-U9200:~/djangoenv$ source bin/activate
(djangoenv)alex@alex-ESPRIMO-Mobile-U9200:~/djangoenv$ easy_install django
а вот с этого момента начинаются заморочки
(djangoenv)alex@alex-ESPRIMO-Mobile-U9200:~/djangoenv/bin$ python django-admin.py
Usage: django-admin.py subcommand
Options:
-v VERBOSITY, –verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=normal output,
2=verbose output, 3=very verbose output
–settings=SETTINGS The Python path to a settings module, e.g.
“myproject.settings.main”. If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be
used.
–pythonpath=PYTHONPATH
A directory to add to the Python path, e.g.
“/home/djangoprojects/myproject”.
–traceback Raise on exception
–no-color Don't colorize the command output.
–version show program's version number and exit
-h, –help show this help message and exit
Type ‘django-admin.py help <subcommand>’ for help on a specific subcommand.
Available subcommands:
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
runfcgi
runserver
shell
sql
sqlall
sqlclear
sqlcustom
sqldropindexes
sqlflush
sqlindexes
sqlinitialdata
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
syncdb
test
testserver
validate
Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.).
КАК ЭТО ИСПРАВИТЬ?