Importing "this" in Python 🐍
JeetZawab_Ul (4)

When I try to run the "import this" command in, it gives me the following error: Installing fresh packages

Collecting this
ERROR: Could not find a version that satisfies the requirement this (from versions: none)
ERROR: No matching distribution found for this package installation failed!

Can you please explain me why this issue is occurring?
Looking forward to hear from you.

You are viewing a single comment. View All
mat1 (3287)

This is a bug. Please report it in the bugs board.
The reason you're getting this is because is attempting to install the nonexistent "this" library from PyPI. You can still import this if you do __import__('this')
Please mark my comment as the answer if it helped. Thanks!

JeetZawab_Ul (4)

@mat1 Thank you very much. It worked. And I reported the bug as well.