LoginSignup
5
3

More than 3 years have passed since last update.

pip uninstall setuptoolsをやってしまった方へ

Last updated at Posted at 2019-11-11

おそらくそんなバカは自分だけだと思いますが

pip uninstall setuptoolsを実行してしまうと次から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

というエラーを吐き、何もできなくなります。

対処法

python -m pip install setuptools
と打ちましょう

まとめ

setuptoolsは消しちゃダメ

ちなみにqiita初投稿です。

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3