[ 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) user@mothership 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) user@mothership myhellowebapp $ git init
Initialized empty Git repository in /home/user/projects/python/django-projects/myhellowebapp/.git/
(venv) user@mothership myhellowebapp $ django-admin.py startproject hellowebapp .
django-admin.py: command not found
(venv) user@mothership myhellowebapp $ ls
venv
(venv) user@mothership myhellowebapp $ python django-admin.py startproject hellowebapp .
python: can’t open file ‘django-admin.py’: [Errno 2] No such file or directory
(venv) user@mothership 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?