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