方式一: 全局设置. 放在/etc/profile.d/ 目录下(登录时执行) 或者/etc/bashrc 文件中(运行时执行). export PYTHONPATH=$PYTHONPATH:/home/dir.
確定! 回上一頁