r/learnpython • u/foosion • Oct 22 '26
Removing 3.14 now that I have 3.15.1, on a mac?
How do I uninstall Python 3.14 from my mac (my copy, not the system version in /usr/bin)? I installed from the dmg on python.org. I'm now happy with 3.15, so I don't need 3.14 or its libraries.
Searching suggests:
sudo rm -rf /Library/Frameworks/Python.framework/Versions/3.14
cd /usr/local/bin && ls -l | grep "../Library/Frameworks/Python.framework/Versions/3.14" | awk '{print $9}' | xargs sudo rm
which looks fine to me, but I worry about missing something.
3
Upvotes
3
u/Fabiolean Oct 23 '26
If you don’t know how to do this safely already, don’t try. It costs you nothing to leave it in place for now.
Look up the documentation or some tutorials on how to use the venv module to ensure your software is using the python version you want. There are legit reasons for keeping multiple versions installed at once.
2
u/sjshuck Oct 23 '26
Those commands to remove look fine. But afterwards, DO NOT install 3.15 from a dmg. Use Homebrew.
After following the instructions,
brew install python@3.15. And do what another commenter suggested and create virtual environments:python3.15 -m venv venv.Good luck!
1
u/deep_soul Oct 23 '26
clean up that mess and setting up pyenv is the only correct answer
1
u/udi503 Oct 23 '26
Install anaconda or miniconda
0
u/trekkie86 Oct 23 '26
I always manage python and other app versions with mise
-2
u/KittyKong Oct 22 '26
It's best practice to just use the system python binary to create virtual environments with whatever version you need. Upgrading the host python isn't really ideal...that is what the other comments are alluding to.
8
u/[deleted] Oct 22 '26
[removed] — view removed comment