ImportError: dlopen(/var/folders/yw/mflfmhxd64jfzf_1x9jdc6pr0000gn/T/_MEIqOe3oc/cv2/cv2.cpython-37m-darwin.so, 2): Library not loaded: @loader_path/libpng16.16.dylib
Referenced from: /private/var/folders/yw/mflfmhxd64jfzf_1x9jdc6pr0000gn/T/_MEIqOe3oc/libfreetype.6.dylib
Reason: Incompatible library version: libfreetype.6.dylib requires version 54.0.0 or later, but libpng16.16.dylib provides version 38.0.0
[45061] Failed to execute script gu
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
I tried to run it in my conda environment and without it. I am getting the same error in both cases, can can anyone help me out with this?
Best,
Aiswarya