Can't Start Django Project


#1

[ Linux Mint ]

I’m thinking about making a move from php to python but I’m having trouble getting past the ‘Start Your Django Project’ section of this page -> https://hellowebapp.com/setup/ As soon as I get this figured out I can proceed to chapter 4 in the hellowebapp book.

Here’s a peak at my terminal input and feedback.

(venv) [email protected] myhellowebapp $ pip install Django==1.9.6
Collecting Django==1.9.6
Downloading Django-1.9.6-py2.py3-none-any.whl (6.6MB)
100% |████████████████████████████████| 6.6MB 138kB/s
Installing collected packages: Django
Successfully installed Django-1.9.6
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
(venv) [email protected] myhellowebapp $ git init
Initialized empty Git repository in /home/user/projects/python/django-projects/myhellowebapp/.git/
(venv) [email protected] myhellowebapp $ django-admin.py startproject hellowebapp .
django-admin.py: command not found
(venv) [email protected] myhellowebapp $ ls
venv
(venv) [email protected] myhellowebapp $ python django-admin.py startproject hellowebapp .
python: can’t open file ‘django-admin.py’: [Errno 2] No such file or directory
(venv) [email protected] myhellowebapp $ ls

Not that I already have python 2.7 & 3.5 installed on my system and if you when referring to python my system is be default point to python 2.7. Any ideas?


#2

SOLVED!
Just followed the steps again in a different directory and this time it worked fine. Go figure.


#3

Glad to hear it!