Problem scenario
You run a pip command (e.g., pip –version), but ou get an error like this:
Traceback (most recent call last):
File “/home/mike/.local/bin/pip”, line 7, in
from pip._internal.cli.main import main
File “/home/mike/.local/lib/python3.*/site-packages/pip/_internal/cli/main.py” , line 60
sys.stderr.write(f”ERROR: {exc}”)
You no longer want to use Python 2 in on the server. What should you do?
Solution
1.a.
…
Continue reading “How Do You Troubleshoot the pip Message ‘sys.stderr.write(f”ERROR: {exc}”)’?”