python - 在同一电脑上运行两份相似程序时怎么分别配置环境变量?
大家讲道理
大家讲道理 2017-04-18 10:33:15
0
2
421

我和同学在windows上开发同一个python写的项目,但是由于项目要求,有时他只能把代码用U盘拷到我电脑上来。pycharm运行他的gui.py时,继承的总是我的项目文件,把他的文件路径添加到PYTHONPATH和path里也没反应。该如何设置环境变量?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
大家讲道理

There is Virtualenv under Python. You can try pip install.
Also, it is recommended to use git during team development

洪涛

Use virtualenv, when transferring code, copy the python env too

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!