How to Set up virtual environment in pycharm
First of all, create a virtual environment in your local system
open your folder and go to your path in Command promt
day-1>virtualenv gmenv or For Specified Version- virtualenv env_name --python==python3.6
To activate the Virtual environment in terminal use source ./env_name/bin/activate
then Successfully created
Then Go to pycham and to settings to inseide project and selecte project interperter
Next you can see the Settings symbol, Then click on that symbol and ADD
Select Existing environment and your virtual env path and click on ok.
Done, Thanks
open your folder and go to your path in Command promt
day-1>virtualenv gmenv or For Specified Version- virtualenv env_name --python==python3.6
To activate the Virtual environment in terminal use source ./env_name/bin/activate
then Successfully created
Then Go to pycham and to settings to inseide project and selecte project interperter
Next you can see the Settings symbol, Then click on that symbol and ADD
Select Existing environment and your virtual env path and click on ok.
Done, Thanks
Comments
Post a Comment