# Delete the old environment deactivate # if it's active rm -rf venv python -m venv venv Option 2: For PyCharm / VS Code (IDE Specific) Title: Updating the Python Interpreter in Your IDE

To standardize project Python versions to 3.12.x (or latest stable).

python3 --version Your operating system or other applications may depend on the current version. You will install the new version alongside the old one.