Forums

Unable to install textwrap module

Hi,

I'm trying to install textwrap but keeping getting the following error:

(my-virtualenv) 02:36 ~/database $ pip install textwrap Looking in links: /usr/share/pip-wheels ERROR: Could not find a version that satisfies the requirement textwrap ERROR: No matching distribution found for textwrap

Any idea why it can't find textwrap? I have no problems doing the same thing on my local machine. Thanks!

I found that textwrap3 worked when installed/imported instead, for whatever reason (even though my python version is 3.8).

Did you mean this module: https://docs.python.org/3.8/library/textwrap.html? It's in a standard library, so you don't need to install it.