for vscode when adding a venv use from terminal in root of project
python3 -m venv .venv
then will be prompted to change the interpreter, change it to the venv one.
xattr -d com.apple.quarantine chromedriver
pip freeze > requirements.txt (pip3 on macOS/Linux). The requirements file describes the packages you've installed in your virtual environment. With only this file, you or other developers can restore those packages using pip install -r requirements.txt (or, again, pip3 on macOS/Linux). By using a requirements file, you need not commit the virtual environment itself to source contro
Select and activate an environment#
By default, the Python extension looks for and uses the first Python interpreter it finds in the system path. To select a specific environment, use the Python: Select Interpreter command from the Command Palette (⇧⌘P).