开发者

PyDev and Django inside virtual environment

I've set my virtual en开发者_开发问答vironment through console and than with pip installed Django into it. I'd really like now to open and run this folder/project/virtualenv inside of PyDev, but I don't know how. In PyDev I can only start new Django project, which hasn't isolated environment...

You know what I mean?

Thanks everyone!


You need to set the Python interpreter used by the project to the interpreter in the virtualenv. The Pydev manual has more information on how to configure the interpreter.


If this works anything like iPython, you will need to install PyDev inside of your virtual environment. IE:

pip install ipython
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜