比如我想查看 joblibspark 包在服务器上的位置,在 Python 环境下执行下面代码即可: import joblibspark print(joblibspark.__file__) 以上,问题解决~