我如何找到我的site-packages目录的位置?
>>> import site; site.getsitepackages() ['/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
(or just first item with site.getsitepackages()[0] )
site.getsitepackages()[0]
((或仅带site.getsitepackages()[0]第一项))
1.4m articles
1.4m replys
5 comments
57.0k users