One of the cosmpy dependencies python-mbedtls is failing to build because it can not find platform_util.h file.
fatal error: 'mbedtls/platform_util.h' file not found
Bash
Fix:
brew install mbedtls@2
export C_INCLUDE_PATH=/opt/homebrew/opt/mbedtls@2/include
export LIBRARY_PATH=/opt/homebrew/opt/mbedtls@2/lib
export DYLD_LIBRARY_PATH=$LIBRARY_PATH
pip install python-mbedtls
Bash