-
Some container running software. Ex:
-
Python 3.11 install. Ex:
-
Direct installation from Python.org
-
Recommendation: Use a virtual environment when possibly to not pollute your global python install when using a direct python installation:
# this creates a new virtual env # should only need to do this once $ python3 -m venv venv
# activate the environment so that the python command points to the executable in venv/bin $ source venv/bin/activate
-
-
- Direct installation (assuming venv activated):
(venv) $ pytest
- Poetry
poetry run pytest