I am not able to install pexpect using pip. Here is the error: $ sudo -H pip install pexpect Collecting pexpect Could not find a version that satisfies the requirement pexpect (from versions: ) No matching distribution found for pexpect $ sudo -H pip install --upgrade pip Requirement already up-to-date: pip in /Library/Python/2.7/site- packages $ python --version Python 2.7.10 Could someone please point me what could be the issue? Thanks I tried brew and easy_install as well. None of them worked: $ sudo -H easy_install pexpect Searching for pexpect Reading https://pypi.python.org/simple/pexpect/ Download error on https://pypi.python.org/simple/pexpect/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not be found! Couldn't find index page for 'pexpect' (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 pexpect error: Could not find suitable distribution for Requirement.parse('pexpect') $ brew install pexpect Error: No available formula with the name "pexpect" ==> Searching for a previously deleted formula (in the last month)... Warning: homebrew/core is shallow clone. To get complete history run: git -C "$(brew --repo homebrew/core)" fetch --unshallow Error: No previously deleted formula found. ==> Searching for similarly named formulae... ==> Searching local taps... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae found in taps. I checked the site: https://pypi.python.org/simple/pexpect/ . I do not see files for python 2.7 version. That could be the reason. Does anyone know how can i get pexpect for Python 2.7 or any other solution. Continue reading...