1

I tried to install MechanicalSoup package via pip but i got these errors :

    Download error on https://pypi.org/simple/pytest-runner/: [SSL: 
        TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version 
        (_ssl.c:645) -- 
    Some packages may not be found!
    Couldn't find index page for 'pytest-runner' (maybe misspelled?)
    No local packages or working download links found for pytest-runner

I tried several ways , but they could not help me .

Pooya Mahmoodi
  • 11
  • 1
  • 1
  • 2
  • Possible duplicate of [Not able to install Python packages \[SSL: TLSV1\_ALERT\_PROTOCOL\_VERSION\]](https://stackoverflow.com/questions/49768770/not-able-to-install-python-packages-ssl-tlsv1-alert-protocol-version) – phd Jun 05 '18 at 06:41
  • I saw this post and did what he said but it could not solve my problem :| – Pooya Mahmoodi Jun 05 '18 at 13:13
  • You have to upgrade everything related to SSL — OpenSSL, Python, pip. – phd Jun 05 '18 at 17:39

1 Answers1

2

First install pytest-runner as follows and try again:

pip3 install pytest-runner

or,

python3 -m pip install pytest-runner

You may want to add the --user tag if permission is denied.

pziphi
  • 21
  • 4