user14216134
user14216134

Reputation: 81

No matching distribution found for pprint

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

Upvotes: 7

Views: 14764

Answers (4)

shadowchat
shadowchat

Reputation: 11

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.

Upvotes: 1

The command to install pprint is

pip install pprintpp

I had the same issue, found the answer here

Upvotes: -3

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

Upvotes: -3

Nei Neto
Nei Neto

Reputation: 477

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

Upvotes: 13

Related Questions