Replies: 2 comments 5 replies
-
Sorry, I figured it out. I can re-run the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Just avoid using brew python to install tools like pdm. The way brew uses to manage Python version makes it a pain when Python gets upgraded. From now on, you should not use brew python to install tools, if there are, re-install them. However, you can use the tool's homebrew version if is provided. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I updated my version of Python -- I use
brew
and expect / assume that I can update many packages and the links will update accordingly.Now
pdm
is associated with a version that no longer exists. However, due to a deep nest of soft links and pointers thatpdm
has to multiple files representing Python, there is no easy way to just alter a line of code somewhere or redirect a soft link.I would therefore like to uninstall
pdm
and reinstall it. (This time I will install viabrew
to ensure links are followed properly, despite the recommendation the the PDM documentation page not to do this.) There is nouninstall
command, at least not that I can see. But sincepdm
is broken, a command likepdm uninstall
would not help anyway.I did a
find
command, and there is a giant mess of files created. The snippet below is just a very small portion of them:There are truly hundreds more files, links, etc which are not to any packages I am managing with PDM, but just PDM itself. How can I uninstall and reinstall it?
Beta Was this translation helpful? Give feedback.
All reactions