I tried using poetry with pipx. Poetry used the wrong python version, so I deinstalled it and deinstalled the python version it was using, so when reinstalled it would use Python3.10 instead of 3.9.
Now without having Python3.9 I cant do anything with pipx.
[Fatal error in launcher: Unable to create process using (my path to my python version)]
How do I completely uninstall it so it uses Python3.10?
I received the same error message when I uninstalled Python 3.10 after installing Python 3.12 and tried to run pipx (installed with Python 3.10) or any package I had made available system-wide with it.
Here is what worked for me on my platform (Windows 11):
edit your Path environment variable to remove references to previous Python version (3.10 in my case): type "environment properties" into Windows search bar, then in the System Properties window, click "Environment Variables", select Pathand click "modify"
in C:\Users\[your_user_name]\.local, delete pipx directory
in C:\Users\[your_user_name]\.local\bin, delete any .exe file referring to a package once installed with pipx
in C:\Users\[your_user_name]\AppData\Roaming\Python, delete any directory referring to the previous Python or pipx version
install pipx with your new Python: python -m pip install --user -U pipx then pipx ensurepath
Then running pipx in your terminal should not throw anymore an error and display help, as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With