No matching distribution found for pprint

11.9k views Asked by At

I am trying to install the requirements.txt file for skiptracer and it keeps saying

ERROR: Could not find a version that satisfies the requirement pprint (from -r requirements.txt (line 7)) (from versions: none)
ERROR: No matching distribution found for pprint (from -r requirements.txt (line 7))

I can't even install pprint

4

There are 4 answers

1
Nei Neto On

pprint is a Standard Library module. That is, it comes bundled with python.

You can just import pprint in a python script without pip installing it.

To solve your issue, delete line 20 pprint=0.1 of your requirements.txt

1
Thorbjörn Heise On

The command to install pprint is

pip install pprintpp

I had the same issue, found the answer here

0
shadowchat On

Confirming here that pprint is part of the python standard library, with online documentation presented here.

As stated in the documentation, pprint can be set to pp such that:

from pprint import pprint as pp

works as expected.

1
theghostguy's mobile On

You may also try to edit requirements.txt and rename pprint to print