After upgrading the python version 2 to 3.8.5. A mongo service is not working. Getting below errors.

AMM00361:bin macuser1$ mongod
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /usr/local/bin/mongod
  Reason: image not found
Trace/BPT trap: 5
openssl version is OpenSSL 0.9.8zh 14 Jan 2016

Please share your thoughts!

Tags: macro