On one of my experiments, I found this strange behavior. If I do
import matplotlib.pyplot as plt
import cv2
Then I get ImportError
ImportError: /home/deep/anaconda3/bin/../lib/libgobject-2.0.so.0: undefined symbol: g_uri_ref
But, If I change the order of imports as
import cv2
import matplotlib.pyplot as plt
Everything runs fine. Matplotlib version is 3.2.2 and cv2 version is 4.3.0 I tried to see if I could find some similar problem or explanation, but have not yet found an answer. I'm not sure why this problem occurs and how to fix it.
