判断当前所使用python的版本和来源

  1. import sys
  2. print(sys.prefix)
  3. print(sys.executable)
原文地址:https://www.cnblogs.com/klausage/p/14183396.html