服务器 Linux环境上查看Python site-package 包所在位置 程序媛三妹 2022-05-14 107 阅读1分钟 一、需求 在服务器 liunx 环境上修改查看 python 的包路径 site-package 二、解决方法 尝试以下命令: from distutils.sysconfig import get_python_lib print(get_python_lib()) 输出类似如下: 以上,问题解决~