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


使用命令:

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM