On Tuesday 06 June 2017 19:08:10 Bruce Whealton wrote:
> 2) How do I get an IDE like Pycharm to recognize the Virtualenv? I
> know I can select the compiler
Interpreter.
> to be inside the
> Virtualenv but other libraries that I installed into that virtualenv,
> if the virtualenv is not active, then it won't find the
> installations of the different libraries.
Did you try it?
First off, PyCharm can make the virtualenv for you. Second, if you point it to the python interpreter inside the virtualenv, it will pick up the installed libraries.
File > Settings > Project > Project Interpreter.
--
Melvyn Sopacua
No comments:
Post a Comment