Command/textNotes
python -m venv myvenv source myvenv/bin/activateCreates and activates a virtual environment in the myvenv subfolder of the current directory. Note: you don't have to be in the current directory to activate it.
uv venv myvenv2 source myvenv2/bin/activateCreate a Python virtual environment via uv.
deactivateDeactivate the Python virtual environment
uv pip install requestsInstall the requests module via UV + Pip (can also install wheel files instead of module names)
uv venv --python 3.12 venv312Create a Python virtual environment using Python 3.12 (via uv)
uv treeShow a dependency tree for ?
python --versionOutput the current Python version
python -c 'import requests; print(requests.__path__)'Will tell you where the requests module is installed