When the Poetry does the install of the of a poetry project, try to remove the directory created by cogex, could be that you can find the virtual environment poetry made inside the local AppData poetry Cache
So you can potentially find it in: (if you are running a pure windows dev environment)
C:\Users\%USERPROFILE%\AppData\Local\pypoetry\Cache\virtualenvs
But before any future install or initializations with poetry I suggest you run this command
poetry config virtualenvs.in-project true
This will that from any new python project you install or initialize with poetry that the .venv will be inside the project directory and not on your user. I would wish the default was to set the project directory myself and not a Cache directory under the users local AppData.
Note: If you delete a poetry project directory and remake it with the same name, without removing the virtual environment in it made in the users local AppData, then it won’t make a new .venv file in the project, so make sure you delete the virtual environment directories for the local AppData directory aswell.