Pooya Mahmoodi
Pooya Mahmoodi

Reputation: 11

Error: Could not find suitable distribution for Requirement.parse('pytest-runner')

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 .

Upvotes: 1

Views: 11828

Answers (1)

pziphi
pziphi

Reputation: 21

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.

Upvotes: 2

Related Questions