5

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

Denis Zavedeev
  • 7,627
  • 4
  • 32
  • 53
user14216134
  • 61
  • 1
  • 3
  • After looking at the [xillwillx/skiptracer](https://github.com/xillwillx/skiptracer) package, it seems that it can easily be installed with `pip install -e ./` as it has a `setup.py`. – Nei Neto Sep 03 '20 at 20:10
  • 1
    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)](https://stackoverflow.com/questions/63457762/error-could-not-find-a-version-that-satisfies-the-requirement-pprint-from-r-r) – Denis Zavedeev Sep 06 '20 at 12:59

4 Answers4

11

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

Nei Neto
  • 438
  • 2
  • 9
  • 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 from plugins.menus import menus File "/home/kali/skiptracer-2.0-beta/plugins/menus.py", line 4, in from plugins.banner import Logo File "/home/kali/skiptracer-2.0-beta/plugins/banner.py", line 3, in from plugins.colors import BodyColors as bc ModuleNotFoundError: No module named 'plugins.colors' plz hlp – user14216134 Sep 04 '20 at 21:35
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.

-3

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

Super Kai - Kazuya Ito
  • 22,221
  • 10
  • 124
  • 129
-3

The command to install pprint is

pip install pprintpp

I had the same issue, found the answer here

  • 1
    That is not correct. [`pprint` is part of Python's standard library](https://docs.python.org/3/library/pprint.html) and it does not need to be installed. The `pprintpp` you are recommending is something else, not what the question asked for. – sinoroc Dec 20 '22 at 15:12