One - One Code All

Blog Content

如何找到我的Python site-packages目录的位置?

Python   2007-12-13 23:26:58
python -m site --user-site


from distutils.sysconfig import get_python_lib
print(get_python_lib())



上一篇:pip显示安装包列表和单独信息
下一篇:python执行-u参数输出无缓冲

The minute you think of giving up, think of the reason why you held on so long.