GLib-GIO-Message:使用“内存" GSettings后端.您的设置将不会保存或与其他应用程序共享 [英] GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications
本文介绍了GLib-GIO-Message:使用“内存" GSettings后端.您的设置将不会保存或与其他应用程序共享的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在Ubuntu OS上使用opencv处理python项目
I am working on python project with opencv on Ubuntu OS
import numpy as np
import cv2
img = cv2.imread("LillyBellea.png", 1)
img = cv2.imwrite("LillyBellea.jpeg", img)
cv2.imshow("original", img)
cv2.waitKey(0)
cv2.destroyAllWindows()
当我运行此程序时,我会收到错误消息
when i am running this program then i am getting error
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
任何人都可以在这里帮忙吗, 我已遵循此回答,但对我不起作用
can any one please help here, I have follow this answer but its not working for me
推荐答案
这为我解决了这个问题:
This fixed the issue for me:
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
请参阅: https://github.com/conda-forge/glib- feedstock/issues/19 了解更多信息.
See: https://github.com/conda-forge/glib-feedstock/issues/19 for more info.
这篇关于GLib-GIO-Message:使用“内存" GSettings后端.您的设置将不会保存或与其他应用程序共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文