change vertual env pycharm code example
Example: how to use existing virtual environment in pycharm
Open >> File
>> Settings(Ctrl+Alt+S)
>> Project: > Python Interpreter
>> Right side of the Browse path select location of existing venv path
>> Apply and OK.