Ask coding questions

← Back to all posts
Does PyQT not work on
VideoCarp (2)

Hello, I am using PyQT on my repl, and it just seems to error with:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
which, seems like something isn’t set on a path in the repl. I’ve tried searching everywhere and couldn’t find any on
So, overall does PyQT not run on
My repl is selected. A link (if needed) is

Answered by PattanAhmed (1405) [earned 5 cycles]
View Answer
PattanAhmed (1405)

@VideoCarp Hi,
It's just a warning.
I usually ignore all the warnings these days...

I don't know more about that because I don't want to know more on that thing.
That's it

Hope this helps

HarperframeInc (456)

I don't know. Maybe try using a tkinter repl?
Maybe post this in bugs or feedback.

VideoCarp (2)

Nope, that didn’t work either, and raised a different error.

HarperframeInc (456)

@VideoCarp Okay then... Maybe you need a window manager and PyQt is looking for it... Maybe try install gnome/kde to your repl with install-pkg.
If that doesn't work- I don't know what will. Try posting to Bugs or Feedback, OR use Tkinter, GTK+, or PySimpleGUI (makes tkinter simpler to use)

VideoCarp (2)

How would I do that install-pkg thing? Is there some sort of file or?