python代码方式 sys.path.append("your_path") # 必须用绝对路径 Linux命令行方式(设置环境变量) export PYTHONPATH=$PYTHONPATH:$(pwd)