No matching distribution found for pprint
Asked Answered
R

4

7

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

Repetitious answered 3/9, 2020 at 20:2 Comment(2)
After looking at the xillwillx/skiptracer package, it seems that it can easily be installed with pip install -e ./ as it has a setup.py.Eyecup
Does this answer your question? error: Could not find a version that satisfies the requirement pprint (from -r requirements.txt (line 67)) (from versions: none)Ofelia
E
13

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

Eyecup answered 3/9, 2020 at 20:7 Comment(1)
I removed the pprint and it installed all the other requirements but now when i tried to run python3 skiptracer.py i get the following messageTraceback (most recent call last): File "skiptracer.py", line 4, in <module> from plugins.menus import menus File "/home/kali/skiptracer-2.0-beta/plugins/menus.py", line 4, in <module> from plugins.banner import Logo File "/home/kali/skiptracer-2.0-beta/plugins/banner.py", line 3, in <module> from plugins.colors import BodyColors as bc ModuleNotFoundError: No module named 'plugins.colors' plz hlpRepetitious
E
0

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.

Encumbrance answered 25/1, 2023 at 21:48 Comment(0)
P
-3

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

Pathy answered 29/1, 2022 at 16:14 Comment(1)
That won't help.Saxena
T
-3

The command to install pprint is

pip install pprintpp

I had the same issue, found the answer here

Troublesome answered 20/12, 2022 at 13:1 Comment(1)
That is not correct. pprint is part of Python's standard library and it does not need to be installed. The pprintpp you are recommending is something else, not what the question asked for.Migdaliamigeon

© 2022 - 2025 — McMap. All rights reserved.