I am working on python project with opencv on Ubuntu OS
JavaScript
x
9
1
import numpy as np
2
import cv2
3
4
img = cv2.imread("LillyBellea.png", 1)
5
img = cv2.imwrite("LillyBellea.jpeg", img)
6
cv2.imshow("original", img)
7
cv2.waitKey(0)
8
cv2.destroyAllWindows()
9
when i am running this program then i am getting error
JavaScript
1
2
1
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
2
can any one please help here, I have follow this answer but its not working for me
Advertisement
Answer
This fixed the issue for me:
JavaScript
1
2
1
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
2
See: https://github.com/conda-forge/glib-feedstock/issues/19 for more info.