Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Forum Updated to NodeBB v4.3 + New Features

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Scheduled Pinned Locked Moved Solved Installation and Deployment
183 Posts 87 Posters 910.3k Views 8 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IanH222
    wrote on last edited by
    #181

    It's loaded as part of a python script, and the problem is in matplotlib code.

    It looks like it's potentially a problem with PyTorch's DataLoader using threads, and then me asking matplotlib to imshow some data that was originally loaded on a different thread. But I can't go much deeper than that because the rest is all in libraries.

    JonBJ 1 Reply Last reply
    0
    • I IanH222

      It's loaded as part of a python script, and the problem is in matplotlib code.

      It looks like it's potentially a problem with PyTorch's DataLoader using threads, and then me asking matplotlib to imshow some data that was originally loaded on a different thread. But I can't go much deeper than that because the rest is all in libraries.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #182

      @IanH222
      I know that you must not try to do any Qt UI stuff in anything but the main thread, but I don't know how that relates to whatever you are doing in matplotlib.

      1 Reply Last reply
      0
      • I Offline
        I Offline
        IanH222
        wrote on last edited by
        #183

        Thanks, appreciate the help. I'll ask in the forum for this code snippet.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved