You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all, I am having huge pains installing using poetry on my windows environment. I've installed python with the official installer and also with the installer pulled by winget.
For a while when I would run poetry env use 3.11 i would get "no python 3.10 at" errors, I assume becuase poetry executes internal scripts with the python version found at installation time. So i reinstalled python 3.10 with the official installer and selected "install for all users" to make sure it was in the right directory. I then installed 3.11 the same way and when I re-installed poetry I started runing commands like "poetry env use 3.10" and got "no python 3.11 at c:\Users....\AppData"
So then I reinstalled python3.11 without installing for all users.
I'm still in the middle of this but it seems like poetry has hard-coded locations were it looks for the interpreter to run internal poetry scripts?
This is making a nightmare for me trying to install poetry to maintain my code on both 3.10 and 3.11 python.
Or alternatively I'm a bad windows developer and something just isn't clicking for me... (Very possible)
Anwyay. I think I'm close to getting this working, so not so much a specific help question but I wanted to start a discussion about where python should be installed and where poetry should dynamically look for it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all, I am having huge pains installing using poetry on my windows environment. I've installed python with the official installer and also with the installer pulled by winget.
For a while when I would run poetry env use 3.11 i would get "no python 3.10 at" errors, I assume becuase poetry executes internal scripts with the python version found at installation time. So i reinstalled python 3.10 with the official installer and selected "install for all users" to make sure it was in the right directory. I then installed 3.11 the same way and when I re-installed poetry I started runing commands like "poetry env use 3.10" and got "no python 3.11 at c:\Users....\AppData"
So then I reinstalled python3.11 without installing for all users.
I'm still in the middle of this but it seems like poetry has hard-coded locations were it looks for the interpreter to run internal poetry scripts?
This is making a nightmare for me trying to install poetry to maintain my code on both 3.10 and 3.11 python.
Or alternatively I'm a bad windows developer and something just isn't clicking for me... (Very possible)
Anwyay. I think I'm close to getting this working, so not so much a specific help question but I wanted to start a discussion about where python should be installed and where poetry should dynamically look for it.
Beta Was this translation helpful? Give feedback.
All reactions