Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django Project: django-admin.py: command not found

I'm trying to create a Django project. I've looked up solutions everywhere and it is still not working.

I am running Python 2.7 and Django 1.3.1.

I have tried to create a symbolic link but it doesn't work because django-admin.py already exists.

Here is the bash:

user@user:~$ django-admin.py startproject mysite
django-admin.py: command not found

user@user:~$ sudo ln -s /usr/lib/python2.7/dist-packages/django/bin/django-adminpy /usr/local/bin/django-admin.py
ln: failed to create symbolic link `/usr/local/bin/django-admin.py': File exists
like image 964
user1670032 Avatar asked Nov 08 '13 04:11

user1670032


1 Answers

user@user:~$ django-admin startproject mysite
like image 55
Chuvi Avatar answered Sep 19 '22 05:09

Chuvi