Configure a per-project virtual environment as your project interpreterto avoid installing packages to a protected area of the file system 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.