使用命令:
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 -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删除。