ホーム

macのpythonとpython3を消す方法

$ which python
/Users/ryosuke-hujisawa/.pyenv/shims/python

$ which python3
/Users/ryosuke-hujisawa/.pyenv/shims/python3

ちなみに

$ which python
/usr/bin/python

$ sudo rm -rf /usr/bin/python
rm: /usr/bin/python: Operation not permitted

デフォルトのPythonは消せない

Pocket
LinkedIn にシェア

-ホーム

Copyright© off.tokyo , 2021 All Rights Reserved Powered by AFFINGER5.