samples general samples To configure poetry to use the correct location run poetry config virtualenvs.path "../.venv" --local To set in vs code press ctrl + shift + p type python: select Interpreter You can then find the local interperter to use for python