一.centos平台
寻找pip安装包的目录方法
[root@iZwz927xptl8kw8zqrmwvcZ bin]# whereis python python: /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3.6-config /usr/bin/python3.6m-config /usr/bin/python3.6m-x86_64-config /usr/lib/python3.6 /usr/lib64/python3.6 /usr/local/lib/python3.6 /usr/include/python3.6m /usr/share/man/man1/python.1.gz [root@iZwz927xptl8kw8zqrmwvcZ bin]# cd /usr/local/lib/python3.6/ [root@iZwz927xptl8kw8zqrmwvcZ python3.6]# ls site-packages
二.windows平台
寻找pip安装包的目录方法
C:\Users\AndyH>where python D:\Users\AndyH\AppData\Local\Programs\Python\Python310\python.exe C:\Users\AndyH\AppData\Local\Microsoft\WindowsApps\python.exe
找到目录:D:\Users\AndyH\AppData\Local\Programs\Python\Python310\Lib\site-packages
三.通用
都可以通过pip3 list 命令查看安装了哪些包。
安装包都是在Lib文件夹下
标签:bin,查看,python,python3.6,usr,pip,安装包 From: https://www.cnblogs.com/MrHSR/p/16472856.html