Replies: 2 comments 7 replies
-
Your shell completion is broken, try re-install the completion script https://pdm-project.org/en/latest/#shell-completion |
Beta Was this translation helpful? Give feedback.
-
It could also be that you installed PDM with pipx or pip --user on 3.11. That left an executable somewhere, that calls Python 3.11 which doesn't exist anymore. The solution is to reinstall PDM with 3.12 and remove the old executable if you can find it. Nothing specific to PDM, that's how Python works 😐 Next time you upgrade, try to remember migrating all user-installed tools to the new Python version before deleting the old one. |
Beta Was this translation helpful? Give feedback.
-
I use pyenv on Windows to manage my Python installations and I got a problem after upgrading my Python version. I had version
3.11.5
installed and I upgraded to3.12.4
and deleted the old Python version. The problem is that now any time I open the terminal (Powershell), I get an errorNo Python at '"D:\Portable_Programs\.pyenv\pyenv-win\versions\3.11.5\python.exe'
. Also, any command I try to run withpdm
doesn't work with the same error (even simply runningpdm
).How can I tell
pdm
to use the new Python version I installed? I thought to uninstallpdm
, but to my surprise, I couldn't find any uninstallation instructions in the docs or online. It also doesn't seem like a good solution to reinstallpdm
anytime I update Python.Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions