MacOS - Blender as a Python Module: Build Errors

I was testing the import in PyCharm, and the venv was created by PyCharm. The error message is as below. On top of that, a dialogue box came out and said “python quit unexpectedly”.

Color management: using fallback mode for management
Color management: Error could not find role data role.
blf_load_font_default: ‘fonts’ data path not found for ‘droidsans.ttf’, will not be able to display text
blf_load_font_default: ‘fonts’ data path not found for ‘bmonofont-i18n.ttf’, will not be able to display text
blf_load_font_default: ‘fonts’ data path not found for ‘bmonofont-i18n.ttf’, will not be able to display text
Color management: scene view “Filmic” not found, setting default “Standard”.
bpy: couldn’t find ‘scripts/modules’, blender probably wont start.
Freestyle: couldn’t find ‘scripts/freestyle/modules’, Freestyle won’t work properly.
ERROR (bpy.rna): /Users/sbai/Documents/blender-git/blender/source/blender/python/intern/bpy_rna.c:7263 pyrna_srna_ExternalType: failed to find ‘bpy_types’ module
ERROR (bpy.rna): /Users/sbai/Documents/blender-git/blender/source/blender/python/intern/bpy_rna.c:7263 pyrna_srna_ExternalType: failed to find ‘bpy_types’ module
ERROR (bpy.rna): /Users/sbai/Documents/blender-git/blender/source/blender/python/intern/bpy_rna.c:7263 pyrna_srna_ExternalType: failed to find ‘bpy_types’ module
ERROR (bpy.rna): /Users/sbai/Documents/blender-git/blender/source/blender/python/intern/bpy_rna.c:7263 pyrna_srna_ExternalType: failed to find ‘bpy_types’ module
ERROR (bpy.rna): /Users/sbai/Documents/blender-git/blender/source/blender/python/intern/bpy_rna.c:7263 pyrna_srna_ExternalType: failed to find ‘bpy_types’ module
ModuleNotFoundError: No module named ‘bpy_types’
ModuleNotFoundError: No module named ‘bpy_types’
ModuleNotFoundError: No module named ‘bpy_types’
ModuleNotFoundError: No module named ‘bpy_types’
ModuleNotFoundError: No module named ‘bpy_types’
ModuleNotFoundError: No module named ‘bpy_types’
ModuleNotFoundError: No module named ‘bpy_types’
F0506 11:36:12.764626 363101632 utilities.cc:322] Check failed: !IsGoogleLoggingInitialized() You called InitGoogleLogging() twice!
*** Check failure stack trace: ***
@ 0x108eba2ff
@ 0x108eb6919
@ 0x108ebde8c
@ 0x1088423fe
@ 0x107e06fed
@ 0x1083cb2d7
@ 0x1077c27ec
@ 0x1077c63e6
@ 0x10787f140
@ 0x10787aa33
@ 0x10787a239
@ 0x10779a588
@ 0x10779a261
@ 0x10785741f
@ 0x10785ab13
@ 0x107799f61
@ 0x107859fc2
@ 0x107856f8d
@ 0x10779a3d0
@ 0x107859fc2
@ 0x107856f73
@ 0x10779a3d0
@ 0x107859fc2
@ 0x10785702e
@ 0x10779a3d0
@ 0x107859fc2
@ 0x10785702e
@ 0x10779a3d0
@ 0x107859fc2
@ 0x10785702e
@ 0x10779a3d0
@ 0x1077999c4