1. 程式人生 > >如何查找python安裝包的路徑site-packages?

如何查找python安裝包的路徑site-packages?

ima 使用 rect -- python版本 cto 如何 2.7 ons

使用命令:

python -m site

python -m site --user-site


技術分享圖片

註意當查看指定版本的python的安裝包時,需要指定python版本,比如python2.7.15 -m site

參考:https://stackoverflow.com/questions/122327/how-do-i-find-the-location-of-my-python-site-packages-directory

 

如何查找python安裝包的路徑site-packages?