Find where python is installed (if it isn't default dir)

后端 未结 11 1441
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 06:09

Python is on my machine, I just don\'t know where, if I type python in terminal it will open Python 2.6.4, this isn\'t in it\'s default directory, there surely is a way of f

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 06:41

    To find all the installations of Python on Windows run this at the command prompt:

    dir site.py /s
    

    Make sure you are in the root drive. You will see something like this.

提交回复
热议问题