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

后端 未结 11 1438
爱一瞬间的悲伤
爱一瞬间的悲伤 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:57

    For Windows Users:

    If the python command is not in your $PATH environment var.

    Open PowerShell and run these commands to find the folder

    cd \
    ls *ython* -Recurse -Directory
    

    That should tell you where python is installed

提交回复
热议问题