[PYTHON] For those who have done pip uninstall setuptools

I think I'm the only idiot

If you run pip uninstall setuptools, the next time you use pip

Traceback (most recent call last):
  File "/usr/local/bin//pip", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

I get an error saying that I can't do anything.

approach

python -m pip install setuptools Let's hit

Summary

Don't delete setuptools

By the way, this is the first post of qiita.

Recommended Posts

For those who have done pip uninstall setuptools
Getting Started with Processing and p5.js (for those who have done other languages) 02
Getting Started with Processing and p5.js (for those who have done other languages) 01
AWS ~ For those who will use it ~
For those who don't have Keras or TensorFlow on GPU on macOS Sierra
Introduced Mac (M1) TensorFlow (recommended for those who have installed python by themselves)
[Solved] I have a question for those who are familiar with Python mechanize.
Dart grammar for those who only know Python
Software training for those who start researching space
For those who are new to programming but have decided to analyze data with Python
For those who are in trouble with an error when pip install xg boost
For those who should have installed janome properly with Python but get an error
Anxible points for those who want to introduce Ansible
For those who want to write Python with vim
For those who get Getting Key Error:'length_seconds' on pytube
For those who can't install Python on Windows XP
Pepper Web API cooperation explanation For those who have no experience in Pepper application development / programming
An introduction to Web API development for those who have completed the Progate Go course