Py学习  »  Python

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

爱情的枪 • 8 年前 • 2388 次点击  

RT

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1367
 
2388 次点击  
文章 [ 1 ]  |  最新文章 8 年前
Py站长
Reply   •   1 楼
Py站长    8 年前
>>> import site; site.getsitepackages()
['/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']