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 

Comments

Popular posts from this blog

ERR: error parsing query: found influx, expected SELECT, DELETE, SHOW, CREATE, DROP, EXPLAIN, GRANT, REVOKE, ALTER, SET, KILL at line

How To Convert Html File/URL/String Into Image Using Python

How to get Full URL or get absolute url In Django