I've installed python10 on my windows machine. I've installed poetry. Both python and poetry run from the command line.
I clone a poetry enabled repository (this project works correctly on another machine). I've updated the myproject.toml file to 3.10
[tool.poetry.dependencies]
python = "^3.10"
defusedxml = "^0.7.1"
jsondiff = "^1.3.0"
pytz = "^2021.1"
run poetry update
I then run the project in the visual studio debugger.
and it fails with
Exception has occurred: ModuleNotFoundError
No module named 'pytz'
pytz appears in my poetry.lock
poetry show lists it
pytz 2021.3 World timezone definitions, modern and historical
What am I missing?