Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring PyCharm with existing virtualenv

I am trying to get PyCharm running using existing virtualenv setting. I have pointed my PyCharm project to python interpreter in existing virtualenv ~/.virtualenvs/myproj/ in the following path

File -> Default Settings -> Default Project -> Python Interpreter

the project runs fine but the editor is still glowing RED on packages installed as part of the virtualenv.

Any idea what I am missing?

like image 924
comiventor Avatar asked Nov 23 '15 10:11

comiventor


People also ask

Does PyCharm activate virtualenv?

Pycharm does not activate virtualenv automatically in powershell.


1 Answers

enter image description here Dont click on make available to all projects and it will work. Otherwise it would give error saying -- specify a different sdk name

like image 123
Aseem Avatar answered Sep 19 '22 03:09

Aseem