python - How do setup virtualenv and dependencies in pycharm? -
i using virtualenv on remote machine , want simulate same env on mac can use pycharm further development.
my virtualenv in path , "~/venv"
i have created ~/.pycharmc following contents(as suggested in "how activate virtualenv inside pycharm's terminal?")
source ~/venv/bin/activate
/bin/bash --rcfile ~/.pycharmrc
works fine , creates necessary venv, not working in pycharm environment(attaching image @ end)
what missing ?
go settings > project interpreter > python interpreters > add
navigate ~/venv/bin
, select python binary. pycharm notices virtual environment , supports completely. make sure select added environment projects interpreter.
Comments
Post a Comment