Skip to content

Instantly share code, notes, and snippets.

@fish2000
Last active February 29, 2024 17:41
Show Gist options
  • Save fish2000/9c25dbb3094b9f2577e3 to your computer and use it in GitHub Desktop.
Save fish2000/9c25dbb3094b9f2577e3 to your computer and use it in GitHub Desktop.
Get Rid Of PyObjC
yes | pip uninstall pyobjc-core \
pyobjc-framework-Accounts \
pyobjc-framework-AddressBook \
pyobjc-framework-AppleScriptKit \
pyobjc-framework-AppleScriptObjC \
pyobjc-framework-Automator \
pyobjc-framework-CFNetwork \
pyobjc-framework-CalendarStore \
pyobjc-framework-Cocoa \
pyobjc-framework-Collaboration \
pyobjc-framework-CoreData \
pyobjc-framework-CoreLocation \
pyobjc-framework-CoreText \
pyobjc-framework-DictionaryServices \
pyobjc-framework-EventKit \
pyobjc-framework-ExceptionHandling \
pyobjc-framework-FSEvents \
pyobjc-framework-InputMethodKit \
pyobjc-framework-InstallerPlugins \
pyobjc-framework-InstantMessage \
pyobjc-framework-LatentSemanticMapping \
pyobjc-framework-LaunchServices \
pyobjc-framework-Message \
pyobjc-framework-OpenDirectory \
pyobjc-framework-PreferencePanes \
pyobjc-framework-PubSub \
pyobjc-framework-QTKit \
pyobjc-framework-Quartz \
pyobjc-framework-ScreenSaver \
pyobjc-framework-ScriptingBridge \
pyobjc-framework-SearchKit \
pyobjc-framework-ServerNotification \
pyobjc-framework-ServiceManagement \
pyobjc-framework-Social \
pyobjc-framework-SyncServices \
pyobjc-framework-SystemConfiguration \
pyobjc-framework-WebKit
pip uninstall pyobjc-core && \
pip uninstall pyobjc-framework-Accounts && \
pip uninstall pyobjc-framework-AddressBook && \
pip uninstall pyobjc-framework-AppleScriptKit && \
pip uninstall pyobjc-framework-AppleScriptObjC && \
pip uninstall pyobjc-framework-Automator && \
pip uninstall pyobjc-framework-CFNetwork && \
pip uninstall pyobjc-framework-CalendarStore && \
pip uninstall pyobjc-framework-Cocoa && \
pip uninstall pyobjc-framework-Collaboration && \
pip uninstall pyobjc-framework-CoreData && \
pip uninstall pyobjc-framework-CoreLocation && \
pip uninstall pyobjc-framework-CoreText && \
pip uninstall pyobjc-framework-CoreWLAN && \
pip uninstall pyobjc-framework-DictionaryServices && \
pip uninstall pyobjc-framework-DiskArbitration && \
pip uninstall pyobjc-framework-EventKit && \
pip uninstall pyobjc-framework-ExceptionHandling && \
pip uninstall pyobjc-framework-FSEvents && \
pip uninstall pyobjc-framework-InputMethodKit && \
pip uninstall pyobjc-framework-InstallerPlugins && \
pip uninstall pyobjc-framework-InstantMessage && \
pip uninstall pyobjc-framework-LatentSemanticMapping && \
pip uninstall pyobjc-framework-LaunchServices && \
pip uninstall pyobjc-framework-OpenDirectory && \
pip uninstall pyobjc-framework-PreferencePanes && \
pip uninstall pyobjc-framework-PubSub && \
pip uninstall pyobjc-framework-QTKit && \
pip uninstall pyobjc-framework-Quartz && \
pip uninstall pyobjc-framework-ScreenSaver && \
pip uninstall pyobjc-framework-ScriptingBridge && \
pip uninstall pyobjc-framework-SearchKit && \
pip uninstall pyobjc-framework-ServiceManagement && \
pip uninstall pyobjc-framework-Social && \
pip uninstall pyobjc-framework-StoreKit && \
pip uninstall pyobjc-framework-SyncServices && \
pip uninstall pyobjc-framework-SystemConfiguration && \
pip uninstall pyobjc-framework-WebKit
@Rcsuax
Copy link

Rcsuax commented Jan 15, 2022

thanks @fzdp

@resnbl
Copy link

resnbl commented Mar 6, 2022

Have you tried:
pip uninstall 'pyobjc[allbindings]'

(inferred from the install instructions - and it worked for me!)

@Rcsuax
Copy link

Rcsuax commented Mar 10, 2022

@resnbl i did try that but i still have a bunch of spam packages in my pip list
the solution provided by @fzdp worked from me although i had to manually pip uninstall pyobjc-core as well

❯ pip uninstall 'pyobjc[allbindings]'
Found existing installation: pyobjc 8.4
Uninstalling pyobjc-8.4:
Would remove:
/Users/rcsx/Library/Python/3.8/lib/python/site-packages/pyobjc-8.4.dist-info/*
Proceed (Y/n)? y
Successfully uninstalled pyobjc-8.4

❯ pip list
Package Version


pip 22.0.4
pyobjc-core 8.4
pyobjc-framework-Accessibility 8.4
pyobjc-framework-Accounts 8.4
pyobjc-framework-AddressBook 8.4
pyobjc-framework-AdServices 8.4
pyobjc-framework-AdSupport 8.4
pyobjc-framework-AppleScriptKit 8.4
pyobjc-framework-AppleScriptObjC 8.4
pyobjc-framework-ApplicationServices 8.4
pyobjc-framework-AppTrackingTransparency 8.4
pyobjc-framework-AudioVideoBridging 8.4
pyobjc-framework-AuthenticationServices 8.4
pyobjc-framework-AutomaticAssessmentConfiguration 8.4
pyobjc-framework-Automator 8.4
pyobjc-framework-AVFoundation 8.4
pyobjc-framework-AVKit 8.4
pyobjc-framework-BusinessChat 8.4
pyobjc-framework-CalendarStore 8.4
pyobjc-framework-CallKit 8.4
pyobjc-framework-CFNetwork 8.4
pyobjc-framework-ClassKit 8.4
pyobjc-framework-CloudKit 8.4
pyobjc-framework-Cocoa 8.4
pyobjc-framework-Collaboration 8.4
pyobjc-framework-ColorSync 8.4
pyobjc-framework-Contacts 8.4
pyobjc-framework-ContactsUI 8.4
pyobjc-framework-CoreAudio 8.4
pyobjc-framework-CoreAudioKit 8.4
pyobjc-framework-CoreBluetooth 8.4
pyobjc-framework-CoreData 8.4
pyobjc-framework-CoreHaptics 8.4
pyobjc-framework-CoreLocation 8.4
pyobjc-framework-CoreMedia 8.4
pyobjc-framework-CoreMediaIO 8.4
pyobjc-framework-CoreMIDI 8.4
pyobjc-framework-CoreML 8.4
pyobjc-framework-CoreMotion 8.4
pyobjc-framework-CoreServices 8.4
pyobjc-framework-CoreSpotlight 8.4
pyobjc-framework-CoreText 8.4
pyobjc-framework-CoreWLAN 8.4
pyobjc-framework-CryptoTokenKit 8.4
pyobjc-framework-DataDetection 8.4
pyobjc-framework-DeviceCheck 8.4
pyobjc-framework-DictionaryServices 8.4
pyobjc-framework-DiscRecording 8.4
pyobjc-framework-DiscRecordingUI 8.4
pyobjc-framework-DiskArbitration 8.4
pyobjc-framework-DVDPlayback 8.4
pyobjc-framework-EventKit 8.4
pyobjc-framework-ExceptionHandling 8.4
pyobjc-framework-ExecutionPolicy 8.4
pyobjc-framework-ExternalAccessory 8.4
pyobjc-framework-FileProvider 8.4
pyobjc-framework-FileProviderUI 8.4
pyobjc-framework-FinderSync 8.4
pyobjc-framework-FSEvents 8.4
pyobjc-framework-GameCenter 8.4
pyobjc-framework-GameController 8.4
pyobjc-framework-GameKit 8.4
pyobjc-framework-GameplayKit 8.4
pyobjc-framework-ImageCaptureCore 8.4
pyobjc-framework-IMServicePlugIn 8.4
pyobjc-framework-InputMethodKit 8.4
pyobjc-framework-InstallerPlugins 8.4
pyobjc-framework-InstantMessage 8.4
pyobjc-framework-Intents 8.4
pyobjc-framework-IntentsUI 8.4
pyobjc-framework-IOSurface 8.4
pyobjc-framework-iTunesLibrary 8.4
pyobjc-framework-KernelManagement 8.4
pyobjc-framework-LatentSemanticMapping 8.4
pyobjc-framework-LaunchServices 8.4
pyobjc-framework-libdispatch 8.4
pyobjc-framework-LinkPresentation 8.4
pyobjc-framework-LocalAuthentication 8.4
pyobjc-framework-LocalAuthenticationEmbeddedUI 8.4
pyobjc-framework-MailKit 8.4
pyobjc-framework-MapKit 8.4
pyobjc-framework-MediaAccessibility 8.4
pyobjc-framework-MediaLibrary 8.4
pyobjc-framework-MediaPlayer 8.4
pyobjc-framework-MediaToolbox 8.4
pyobjc-framework-Metal 8.4
pyobjc-framework-MetalKit 8.4
pyobjc-framework-MetalPerformanceShaders 8.4
pyobjc-framework-MetalPerformanceShadersGraph 8.4
pyobjc-framework-MetricKit 8.4
pyobjc-framework-MLCompute 8.4
pyobjc-framework-ModelIO 8.4
pyobjc-framework-MultipeerConnectivity 8.4
pyobjc-framework-NaturalLanguage 8.4
pyobjc-framework-NetFS 8.4
pyobjc-framework-Network 8.4
pyobjc-framework-NetworkExtension 8.4
pyobjc-framework-NotificationCenter 8.4
pyobjc-framework-OpenDirectory 8.4
pyobjc-framework-OSAKit 8.4
pyobjc-framework-OSLog 8.4
pyobjc-framework-PassKit 8.4
pyobjc-framework-PencilKit 8.4
pyobjc-framework-Photos 8.4
pyobjc-framework-PhotosUI 8.4
pyobjc-framework-PreferencePanes 8.4
pyobjc-framework-PushKit 8.4
pyobjc-framework-Quartz 8.4
pyobjc-framework-QuickLookThumbnailing 8.4
pyobjc-framework-ReplayKit 8.4
pyobjc-framework-SafariServices 8.4
pyobjc-framework-SceneKit 8.4
pyobjc-framework-ScreenSaver 8.4
pyobjc-framework-ScreenTime 8.4
pyobjc-framework-ScriptingBridge 8.4
pyobjc-framework-SearchKit 8.4
pyobjc-framework-Security 8.4
pyobjc-framework-SecurityFoundation 8.4
pyobjc-framework-SecurityInterface 8.4
pyobjc-framework-ServiceManagement 8.4
pyobjc-framework-ShazamKit 8.4
pyobjc-framework-Social 8.4
pyobjc-framework-SoundAnalysis 8.4
pyobjc-framework-Speech 8.4
pyobjc-framework-SpriteKit 8.4
pyobjc-framework-StoreKit 8.4
pyobjc-framework-SyncServices 8.4
pyobjc-framework-SystemConfiguration 8.4
pyobjc-framework-SystemExtensions 8.4
pyobjc-framework-UniformTypeIdentifiers 8.4
pyobjc-framework-UserNotifications 8.4
pyobjc-framework-UserNotificationsUI 8.4
pyobjc-framework-VideoSubscriberAccount 8.4
pyobjc-framework-VideoToolbox 8.4
pyobjc-framework-Virtualization 8.4
pyobjc-framework-Vision 8.4
pyobjc-framework-WebKit 8.4
setuptools 49.2.1
six 1.15.0
wheel 0.33.1

@NazikBey
Copy link

pip list | grep pyobjc-framework | xargs pip uninstall -y

lovely !

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment