4 ms·
Create a virtual environment: python3 -m venv venv Activate the virtual environment: source venv/bin/activate Deactivate the virtual environment: deactivat
by arcanemachiner 1y ago
Create a virtual environment:
python3 -m venv venv
Activate the virtual environment:
source venv/bin/activate
Deactivate the virtual environment:
deactivate
- petersellers 1y agoOr: `uvx ruff` Which one is easier to run, especially for someone who doesn't use python everyday?
- arcanemachiner 1y agoThe one they definitely won't have to re-learn in a few years.
- petersellers 1y agoIt's still easier if you use virtual environments so infrequently that you have to look up how to do it every time.
- fastasucan 1y agoOh, I am fine re-learning an equivalent of `uvx ruff` every few years, thats not too bad.