dyld cache '/System/Library/dyld/dyld_shared_cache_x86_64h' not loaded: syscall to map cache into shared region failed
Solution 1:
This looks like you've got multiple installations of Python 3 that may have carried over from a previous macOS upgrade. If you directly type /usr/bin/python3
and don't get an error then this is likely an issue with a homebrew/macports/something else custom installation. You can type which python3
to see what it would execute by default when just using python3
, but the fix depends on what you've done to your system. Check dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation for more help.