Configuring PyCharm with existing virtualenv

后端 未结 4 971
忘掉有多难
忘掉有多难 2020-12-11 02:02

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/ i

4条回答
  •  盖世英雄少女心
    2020-12-11 02:37

    For PyCharm 19.3

    Ctrl + Alt + S or File / Settings

    then

    Project: your-name-project / Project Interpreter / Gear Icon / Add ...

    Choose New environment

    in Location:

    set your path / to / venv

    Finally, you should see

    Project Interpreter : path / to / venv / Scripts / python.exe

提交回复
热议问题