When installing Panda using the SDK packages on Mac, it can not be imported when using python3 installed with Homebrew.
Panda detects that Python 3 is installed and install Python 3 bindings (3.7 in this case), but then import fails with the usual error :
ModuleNotFoundError: No module named 'panda3d'
The problem is that the pth file for Python3 is installed assuming
/Library/Frameworks//Python.framework/Versions/3.7 as sys.prefix
Or Homebrew uses
/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7 as sys.prefix.
/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (which is a symlink to
/usr/local/lib/python3.7/site-packages) solves the problem.
A nice feature would be that the SDK installer could detect the Homebrew version and copy the pth file into