If trying to do this with VS CODE ensure you have your files open on the left side aka the workspace Command+shift+p select interpreter and chose .venv/bin python ...