Configure PyCharm with existing virtualenv

I am trying to start PyCharm using the existing virtualenv setup. I pointed the PyCharm project to the python interpreter in the existing virtualenv ~ / .virtualenvs / myproj / in the following path

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

The project works fine, but the editor still glows with RED on packages installed as part of the virtual file.

Any idea what I am missing?

+4
source share
1 answer

To run PyCharm correctly for your project, you need to correctly install the Python interpreter and the Python structure.

Python Interpreter, Python.

Pycharm- > Preferences- > your_project- >

, /

, , .

Intellij Idea 2016.2 , virtualenv → → → " + "

, , - virtualenv

+3

Source: https://habr.com/ru/post/1617036/


All Articles