jinfan0931 / meic2wrf

Interpolating & distributing MEIC 0.25*0.25 emission inventory onto WRF-Chem grids
GNU General Public License v3.0
87 stars 33 forks source link

您好,在运行脚本时出现了关于_tkinter的报错 #9

Open SherlockLupin-code opened 2 years ago

SherlockLupin-code commented 2 years ago

在运行meic2wrf_GUI.py是出现了以下报错,根据网上的办法也没有解决, 目前的运行平台是WSL,python3.8版本,想请教一下这个问题 Traceback (most recent call last): File "meic2wrf_GUI.py", line 23, in root=tk.Tk() File "/home/sherlock/miniconda3/envs/python/lib/python3.8/tkinter/init.py", line 2261, in init self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable

SherlockLupin-code commented 2 years ago

是不是只有在3.7.7的版本下运行才可以