Why do I get different results when invoking “which python” command and python -c “import os, sys; print(os.path.dirname(sys.executable))”?

后端 未结 0 493
名媛妹妹
名媛妹妹 2021-01-30 18:02

I am wondering why I get different results when typing those commands in macOS Terminal:

melvin: ~ $ which python
/usr/bin/python

melvin: ~

相关标签:
回答
  • 消灭零回复
提交回复
热议问题