Can't install `pip` for` python 3.3`, but works fine for `python 2.7`
I am new to python but not programming. My goal is to learn Django for web development.
I am trying to install more recent versions python
, pip
and Django
. I could install pip
for python 2.7
just fine, but now when I try to install it on python 3
it gives me an error which I think is related to SSL certificates but not sure how to resolve it. My confusion is that it worked fine, but won't happen again. I really appreciate the help.
My code is below:
~$> which python3
/Library/Frameworks/Python.framework/Versions/3.3/bin/python3
~$> which pip
/usr/local/bin/pip
~$> pip -V
pip 1.5.6 from /Library/Python/2.7/site-packages (python 2.7)
~$> sudo python3 /Applications/get-pip.py
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in /Users/Gemeni/.pip/pip.log
~$>
I am still very stuck. I used work and installed pip ...
easy_install pip == 1.2.1
but the version is not 1.2.1 and now I can't install anything with pip.
~ $> pip install django
Download / unpack django
Can't get index base url https://pypi.python.org/simple/
Could not find downloads satisfying django requirement
Cleaning ...
No distributions found for django
Save debug log for failure to /Users/Gemeni/.pip/pip.log
~ $> pip --version
pip 1.5.6 from /Users/Gemeni/.virtualenvs/yara-project/lib/python3.3/site-packages (python 3.3)
Can someone please help me figure this out? I first installed python3.4, but I saw that Django doesn't support it now. I came with pip already installed. I read everywhere that this is an SSL problem and can be solved by changing the proxy setting, but I'm not sure how this can be done. Any thoughts?
source to share