python查看自身对应的site-packages目录

打开python终端,输入:

import site
site.getsitepackages()

输出如下:

原文地址:https://www.cnblogs.com/xiaxuexiaoab/p/14416226.html