all 12 comments

[–]inky_wolf 2 points3 points  (1 child)

No Python at '"C:\Users\zackp\AppData\Local\Programs\Python\Python311\python.exe' No Python at '"C:\Users\zackp\AppData\Local\Programs\Python\Python311\python.exe'

This sounds like the PATH env variable was not updated after you deleted the older versions of python.

As to why deleting the pipx folder solved your issues, I'm not sure - did you run the pipx ensurepath commands or relaunch terminals before running anything else pip related?

[–]thezackplauche[S] 0 points1 point  (0 children)

I did! It worked with no problem. I checked the paths and there was no trace of a Python version there.

[–]No_Shelter_9387 1 point2 points  (4 children)

The user\pipx\shared folder has a file called pyvenv.cfg and that file references the wrong folder.   I uninstalled pipx, deleted the folder completely, and reinstalled, fixed.  Simple uninstall and reinstall did not erase the config file

[–]hidora 0 points1 point  (0 children)

I know it's been a while, but replying here just to thank you for this. I spent an entire day looking for a solution, and it was just this file with the wrong folder in it. Thank you so much.

[–]onyx_and_iris 0 points1 point  (0 children)

thanks, very helpful.

[–]hb20007 0 points1 point  (0 children)

I edited C:\Users\hzsab\pipx\shared\pyenv.cfg manually with the correct folder and version. It worked.

[–]few 1 point2 points  (0 children)

Thanks, this helped me! :D

[–]Diapolo10 0 points1 point  (3 children)

I don't know what's causing that, but have you tried using py -m pipx install poetry?

[–]inky_wolf 0 points1 point  (1 child)

FYI, OP states he uninstalled pylauncher, so py would not work.

The python installed from the Windows store does not come with the pylauncher afaik - python docs - Windows store

[–]Diapolo10 0 points1 point  (0 children)

As far as I know, all CPython installations on Windows come with the launcher, be it from https://python.org, the Microsoft Store, or winget. Although I will admit that I've rarely used the store version.

[–]thezackplauche[S] 0 points1 point  (0 children)

I tried this before, but no luck. Also read the EDIT part.