Error : The program 'django-admin' is currently not installed
<p>But it is installed, coz when I run </p>

<p><code>python -m django --version</code></p>

<p>it shows </p>

<p><code>1.10.1</code>.</p>

<p>But when I try to start some project <code>django-admin startproject mysite</code> or check the version with <code>django-admin --version</code> ,  it shows</p>

<pre><code>The program 'django-admin' is currently not installed. You can install it by typing:
sudo apt-get install python-django`
</code></pre>

<p>I'm using ubuntu 14.04. I'm new to django, I was just trying to follow some tutorial to learn it and faced this issue.</p>

<p>Reinstall django:</p>

<pre><code>sudo apt-get purge python-django    
sudo pip uninstall django
sudo apt-get install python-django
sudo pip install django --upgrade
</code></pre>

<p>Also you can use <a href="https://virtualenv.pypa.io/en/stable/" rel="nofollow">virtualenv</a> and <a href="https://virtualenvwrapper.readthedocs.io/en/latest/" rel="nofollow">virtualenvwrapper</a> to have a better package isolation for multiple projects.</p>

python django