I just ran into a similar problem.
With Python 3.11 on MacOS Ventura 13.4.1 I get the following error message when trying to plot something (I ensured that the variable s in indeed bound to a score):
>>> s.plot("histogram", "pitch")
Unable to revert mtime: /Library/Fonts
The application /Applications/Preview.app cannot be opened for an unexpected reason, error=Error Domain=NSCocoaErrorDomain Code=260 "The file “Preview.app” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Applications/Preview.app, NSFilePath=/Applications/Preview.app, NSUnderlyingError=0x15af08960 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
<music21.graph.plot.HistogramPitchSpace for <music21.stream.Score 0x105503b90>>
The problem here is that for MacOS Ventura these applications still show in the Finder under /Applications, but they are actually stored in /System/Applications, as can be checked in the terminal.
$ ls /System/Applications
App Store.app FindMy.app Music.app Siri.app
Automator.app Font Book.app News.app Stickies.app
Books.app Freeform.app Notes.app Stocks.app
Calculator.app Home.app Photo Booth.app System Settings.app
Calendar.app Image Capture.app Photos.app TV.app
Chess.app Launchpad.app Podcasts.app TextEdit.app
Clock.app Mail.app Preview.app Time Machine.app
Contacts.app Maps.app QuickTime Player.app Utilities
Dictionary.app Messages.app Reminders.app VoiceMemos.app
FaceTime.app Mission Control.app Shortcuts.app
So, the question is: how can I update for music21 paths to applications like Preview.app?
Thanks!