Python3.6 not working from terminal after updating to macOS Big Sur on macbook pro.
The following error is shown:
Process: Python [1126]
Path: /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 3.6.0 (3.6.0)
Code Type: X86-64 (Native)
Parent Process: zsh [1036]
Responsible: Terminal [1033]
User ID: 501
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
dyld: No shared cache present
Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Reason: image not found
Binary Images:
0x100000000 - 0x100000fff +org.python.python (3.6.0 - 3.6.0) <2D4A19AA-E1F7-61EE-36A7-8CEBCEBC97DA> /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
0x7fff688f0000 - 0x7fff6898bfff dyld (832.7.1) <2705F0D8-C104-3DE9-BEB5-B1EF6E28656D> /usr/lib/dyld
Model: MacBookPro16,1, BootROM 1554.50.3.0.0 (iBridge: 18.16.12561.0.0,0), 6 processors, 6-Core Intel Core i7, 2.6 GHz, 16 GB, SMC
MacBook Pro 16″, macOS 10.15