qstandardpaths

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aadithyasb'

自闭症网瘾萝莉.ら 提交于 2020-12-08 15:51:08
问题 I am using WSL in Windows 10. I have this warning getting displayed when I run a python file: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aadithyasb' I can understand that the XDG_RUNTIME_DIR environment variable is not set and it is creating its own path /tmp/runtime-aadithyasb I am getting this warning from the moment I installed Xserver for Windows using VcXsrv to open plots when the file is ran. Wy question is should I add this XDG_RUNTIME_DIR environment variable