GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications

前端 未结 2 1922
眼角桃花
眼角桃花 2021-02-01 05:36

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.j         


        
相关标签:
2条回答
  • 2021-02-01 06:13

    This fixed the issue for me:

    export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
    

    See: https://github.com/conda-forge/glib-feedstock/issues/19 for more info.

    0 讨论(0)
  • 2021-02-01 06:16
    sudo apt install dconf-gsettings-backend:i386
    

    Fixed it for me. (Note: in my case I was running x86 app on x64 system.)

    0 讨论(0)
提交回复
热议问题