error while installing django
<p>I am trying to learn Django framework.
I have windows machine and on that I have installed virtual machine (oracle VM VirtualBox manager).
I have python installed on that.</p>

<p>I dont see pip installed on this VM. so i tried to install django via below:</p>

<pre><code> wget https://www.djangoproject.com/download/1.10.1/tarball/
</code></pre>

<p>This gives the following error:</p>

<pre><code> Resolving www.djangoproject.com... 162.242.220.127,      2001:4802:7801:102:be76:4eff:fe20:789f
 Connecting to www.djangoproject.com|162.242.220.127|:443... connected.
 ERROR: cannot verify www.djangoproject.com's certificate, issued by `/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3':
 Unable to locally verify the issuer's authority.
 ERROR: certificate common name `djangoproject.com' doesn't match requested host name `www.djangoproject.com'.
 To connect to www.djangoproject.com insecurely, use `--no-check-certificate'.
 Unable to establish SSL connection
 --------------------
</code></pre>

<p>so i tried below:</p>

<pre><code>wget --user=username --password --no-check-certificate https://www.djangoproject.com/download/1.10.1/tarball/
</code></pre>

<p>but still error:</p>

<pre><code>ERROR: cannot verify www.djangoproject.com's certificate, issued by `/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3':
Unable to locally verify the issuer's authority.
ERROR: certificate common name `djangoproject.com' doesn't match requested host name `www.djangoproject.com'.
To connect to www.djangoproject.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
</code></pre>

<p>Can somebody help?</p>

<p>Get pip installed and working and then install it using pip as suggested </p>

<p><strong>Official instructions</strong>
[check out instructions][1]
Per <a href="http://www.pip-installer.org/en/latest/installing.html" rel="nofollow">http://www.pip-installer.org/en/latest/installing.html</a>:</p>

<p>Download get-pip.py, being careful to save it as a .py file rather than .txt. Then, run it from the command prompt:</p>

<pre><code>python get-pip.py

pip install django

pip freeze | grep Django

      Django==1.9.9     # to see which version is installed
</code></pre>

<hr>

<p>ps. Keep in mind, once you have pip installed, if you run pip and you still get something like "command not found" you may have to just close the shell and start it again.</p>

python django