How do I check what version of Python is running my script?

前端 未结 22 2312
醉话见心
醉话见心 2020-11-22 04:11

How can I check what version of the Python Interpreter is interpreting my script?

22条回答
  •  南方客
    南方客 (楼主)
    2020-11-22 04:39

    Check Python version: python -V or python --version or apt-cache policy python

    you can also run whereis python to see how many versions are installed.

提交回复
热议问题