
我有 Ubuntu 16.04 LTS,我想使用 OpenCV 庫運行簡單的 python 程式。當我嘗試執行 PyCharm 時顯示錯誤:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
這是我的應用程式程式碼:
import cv2
import numpy as np
img = cv2.imread('kura.jpg',0)
cv2.imshow('image', img)
我在 Ubuntu 17.04 上也遇到了同樣的情況。安裝16.04後,我只安裝了:Vivaldi瀏覽器、Anaconda for python、PyCharm和Unity Tweak Tools。
我的朋友正在使用 Xubuntu 和 XFCE,他沒有遇到這樣的問題。 Unity 是否有可能阻止系統中的某些內容,這就是我無法運行程式的原因?