zigomir
zigomir

Reputation: 985

PyDev and Django inside virtual environment

I've set my virtual environment 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!

Upvotes: 2

Views: 1502

Answers (2)

monokrome
monokrome

Reputation: 1375

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

pip install ipython

Upvotes: 0

Velociraptors
Velociraptors

Reputation: 2030

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.

Upvotes: 5

Related Questions