Virtualenv keeps loading global site packages on Windows

前端 未结 3 490
[愿得一人]
[愿得一人] 2021-02-06 07:49

I\'ve looked around on SO, and the answers I have found to my problem haven\'t allowed me to solve it yet.

I want to use isolated virtualenv environments, but for one re

3条回答
  •  广开言路
    2021-02-06 08:26

    You could make a .bat file and modify PATH and PYTHONPATH in there, and then run .py from that .bat file. Something like this i think

    set PATH=C:\Python26; python myfile.py

    Ofcourse, add anything else to your path that you want.

提交回复
热议问题