sudo easy_install pip not working
up vote
0
down vote
favorite
I'm having trouble executing the sudo easy_install pip
command on my mac. I'm not behind a firewall. I'm using python version 2.7.10. The version of macOS Sierra is 10.12.4. Here is the error I receive:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
python pip easy-install
add a comment |
up vote
0
down vote
favorite
I'm having trouble executing the sudo easy_install pip
command on my mac. I'm not behind a firewall. I'm using python version 2.7.10. The version of macOS Sierra is 10.12.4. Here is the error I receive:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
python pip easy-install
Have you tried updating openSSL? stackoverflow.com/questions/44316292/…
– Jonas
May 31 at 3:12
1
Possible duplicate of ssl.SSLError: tlsv1 alert protocol version
– phd
May 31 at 7:00
@phd Could you point me to the part that is a duplication? It appears that the linked question is referring to someone trying to create a python script. I'm trying to install pip.
– DroidT
May 31 at 23:33
update OpenSSL…updated Python to the latest version You need to update everything related to SSL — OpenSSL, Python and pip.
– phd
Jun 1 at 0:40
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm having trouble executing the sudo easy_install pip
command on my mac. I'm not behind a firewall. I'm using python version 2.7.10. The version of macOS Sierra is 10.12.4. Here is the error I receive:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
python pip easy-install
I'm having trouble executing the sudo easy_install pip
command on my mac. I'm not behind a firewall. I'm using python version 2.7.10. The version of macOS Sierra is 10.12.4. Here is the error I receive:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
python pip easy-install
python pip easy-install
asked May 31 at 3:03
DroidT
1,20421420
1,20421420
Have you tried updating openSSL? stackoverflow.com/questions/44316292/…
– Jonas
May 31 at 3:12
1
Possible duplicate of ssl.SSLError: tlsv1 alert protocol version
– phd
May 31 at 7:00
@phd Could you point me to the part that is a duplication? It appears that the linked question is referring to someone trying to create a python script. I'm trying to install pip.
– DroidT
May 31 at 23:33
update OpenSSL…updated Python to the latest version You need to update everything related to SSL — OpenSSL, Python and pip.
– phd
Jun 1 at 0:40
add a comment |
Have you tried updating openSSL? stackoverflow.com/questions/44316292/…
– Jonas
May 31 at 3:12
1
Possible duplicate of ssl.SSLError: tlsv1 alert protocol version
– phd
May 31 at 7:00
@phd Could you point me to the part that is a duplication? It appears that the linked question is referring to someone trying to create a python script. I'm trying to install pip.
– DroidT
May 31 at 23:33
update OpenSSL…updated Python to the latest version You need to update everything related to SSL — OpenSSL, Python and pip.
– phd
Jun 1 at 0:40
Have you tried updating openSSL? stackoverflow.com/questions/44316292/…
– Jonas
May 31 at 3:12
Have you tried updating openSSL? stackoverflow.com/questions/44316292/…
– Jonas
May 31 at 3:12
1
1
Possible duplicate of ssl.SSLError: tlsv1 alert protocol version
– phd
May 31 at 7:00
Possible duplicate of ssl.SSLError: tlsv1 alert protocol version
– phd
May 31 at 7:00
@phd Could you point me to the part that is a duplication? It appears that the linked question is referring to someone trying to create a python script. I'm trying to install pip.
– DroidT
May 31 at 23:33
@phd Could you point me to the part that is a duplication? It appears that the linked question is referring to someone trying to create a python script. I'm trying to install pip.
– DroidT
May 31 at 23:33
update OpenSSL…updated Python to the latest version You need to update everything related to SSL — OpenSSL, Python and pip.
– phd
Jun 1 at 0:40
update OpenSSL…updated Python to the latest version You need to update everything related to SSL — OpenSSL, Python and pip.
– phd
Jun 1 at 0:40
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
I found a solution using brew
to install pyenv
. Solution was found here but I only needed the parts up to when it uses pip
.
# Install PyEnv (https://github.com/pyenv/pyenv#installation)
$ brew update
$ brew install pyenv
# Initialize pyenv using bash_profile
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile
# or using zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrc
# restart the shell
$ exec "$SHELL"
# Install Python 2.7
$ pyenv install 2.7.14
$ pyenv local 2.7.14
After completing those steps I ran sudo easy_install pip
again and eureka! It worked.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I found a solution using brew
to install pyenv
. Solution was found here but I only needed the parts up to when it uses pip
.
# Install PyEnv (https://github.com/pyenv/pyenv#installation)
$ brew update
$ brew install pyenv
# Initialize pyenv using bash_profile
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile
# or using zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrc
# restart the shell
$ exec "$SHELL"
# Install Python 2.7
$ pyenv install 2.7.14
$ pyenv local 2.7.14
After completing those steps I ran sudo easy_install pip
again and eureka! It worked.
add a comment |
up vote
1
down vote
I found a solution using brew
to install pyenv
. Solution was found here but I only needed the parts up to when it uses pip
.
# Install PyEnv (https://github.com/pyenv/pyenv#installation)
$ brew update
$ brew install pyenv
# Initialize pyenv using bash_profile
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile
# or using zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrc
# restart the shell
$ exec "$SHELL"
# Install Python 2.7
$ pyenv install 2.7.14
$ pyenv local 2.7.14
After completing those steps I ran sudo easy_install pip
again and eureka! It worked.
add a comment |
up vote
1
down vote
up vote
1
down vote
I found a solution using brew
to install pyenv
. Solution was found here but I only needed the parts up to when it uses pip
.
# Install PyEnv (https://github.com/pyenv/pyenv#installation)
$ brew update
$ brew install pyenv
# Initialize pyenv using bash_profile
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile
# or using zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrc
# restart the shell
$ exec "$SHELL"
# Install Python 2.7
$ pyenv install 2.7.14
$ pyenv local 2.7.14
After completing those steps I ran sudo easy_install pip
again and eureka! It worked.
I found a solution using brew
to install pyenv
. Solution was found here but I only needed the parts up to when it uses pip
.
# Install PyEnv (https://github.com/pyenv/pyenv#installation)
$ brew update
$ brew install pyenv
# Initialize pyenv using bash_profile
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.bash_profile
# or using zshrc
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; thenn eval "$(pyenv init -)"nfinexport PATH="~/.pyenv/bin:$PATH"' >> ~/.zshrc
# restart the shell
$ exec "$SHELL"
# Install Python 2.7
$ pyenv install 2.7.14
$ pyenv local 2.7.14
After completing those steps I ran sudo easy_install pip
again and eureka! It worked.
answered Jun 1 at 0:14
DroidT
1,20421420
1,20421420
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f50616037%2fsudo-easy-install-pip-not-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried updating openSSL? stackoverflow.com/questions/44316292/…
– Jonas
May 31 at 3:12
1
Possible duplicate of ssl.SSLError: tlsv1 alert protocol version
– phd
May 31 at 7:00
@phd Could you point me to the part that is a duplication? It appears that the linked question is referring to someone trying to create a python script. I'm trying to install pip.
– DroidT
May 31 at 23:33
update OpenSSL…updated Python to the latest version You need to update everything related to SSL — OpenSSL, Python and pip.
– phd
Jun 1 at 0:40