How to move Python3.framework back to System/Library/Frameworks/ or reinstall OS Python

I am working on MacOS Ventura 13.4.1, and I have accidentally moved the folder Python3.framework from System/Library/Frameworks to the Garbage Bin. It asked for permission requiring my password. I haven't deleted the Python3.framework because I realised (belatedly) that it was the Python version that the OS system installed.

However, the OS does not allow me to move it back to the original folder. I tried sudo, i tried cp, i tried mv, i tried to drag the folder. Nothing works.


Is there a way to move it back to System/Library/Frameworks?

Or alternatively to ask the system to reinstall its Python dependencies?

Or can i reinstall the MacOS Ventura even if there is no new update to my current version?


Thank you in advance!

MacBook Pro (2017 – 2020)

Posted on Jul 19, 2023 3:48 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 19, 2023 4:08 PM

You can't move it out of /System/Library/Frameworks, nor can you move anything into it.

It is mounted read only.


Download Python from python.org


You can also install it with the Xcode command line tools: Python3 now included with Ventura - Apple Community


Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to move Python3.framework back to System/Library/Frameworks/ or reinstall OS Python

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.