for i in range(len(df)):
if ((df['EOG_Start_model'].values[i]-df['EOG_Min_model'].values[i])<(df['EOG_start_farm'].values[i]-df['EOG_Min_Farm'].values[i])) &((df['EOG_Max_model'].values[i]-d
因为几天后,eog和gimp在从命令行启动时都会失败。我从这两个方面得到相同的错误消息:
gimp: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version
(eog:2568): Gtk-WARNING **: Theme parsing error: gtk-contained-dark.css:509:70: Using one color stop(eog:2568): Gtk-WARNING **: Theme parsing error: gtk-contained-dark.css:520:68: Using one color stop(eog:2568): Gtk-WARNING **: Theme parsing error: gtk-contained-dark.css:5
为了显示图像,我想使用默认的ubuntu图像查看器(eog)。我的Image16类中有一些可以读写PPM文件的函数。我知道这些工作,因为我可以把它们写到硬盘上,然后用eog打开它们。我想直接将图像数据导入eog。然而,这会产生一个错误,我不确定为什么。"/home/chase/Desktop/moon.ppm");in.close();
FILE* f = popen("eog