Python 中添加 path 环境变量 1 在/etc/profile 或者 ~/.bashrc 中输出环境变量export PYTHONPATH=$PYTHONPATH:/home/workspace/iaas/2 source /etc/profile 或者 source ~.bashrc Python 2023-09-16 171 点赞 2 评论 259 浏览