After installing python 3.4.3 and on running the command python3.4, it gives an error:
dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Referenced from: /Library/Frameworks/Python.framework/Versions/3.4/Resources/Python.app/Contents/MacOS/Python
Reason: image not found
I found a solution to the above problem. It can be done using pyenv manager installed using brew instead of using default pkg installer.
You might face few errors in that too like:
implicit declaration of function 'getentropy' is invalid in C99Those errors can be avoided by using a patch. Patch link
Following this entire link should help you in getting Python 3.4.x running in BigSur.