How do I find the location of my Python site-packages directory?

前端 未结 21 2979
梦谈多话
梦谈多话 2020-11-22 03:06

How do I find the location of my site-packages directory?

21条回答
  •  离开以前
    2020-11-22 03:25

    pip show will give all the details about a package: https://pip.pypa.io/en/stable/reference/pip_show/ [pip show][1]

    To get the location:

    pip show | grep Location
    

提交回复
热议问题