python 全局搜索路径

在~/.bachrc中添加

export PYTHONPATH=$PATHONPATH:[需要添加的路径]

原文地址:https://www.cnblogs.com/zjgtan/p/3577928.html