Git Product home page Git Product logo

Comments (3)

LewisGaul avatar LewisGaul commented on July 18, 2024

On Windows the app runs on 3.8 after doing pip install pyqt5 attrs, which uses the latest version of PyQt5-sip (12.7.0??!). On WSL (Ubuntu), however, I'm seeing

$python -m minegauler
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

from minegauler.

LewisGaul avatar LewisGaul commented on July 18, 2024

Using QT_DEBUG_PLUGINS=1 shows there is a new dependency from PyQt5>=12.0 libqxcb.so -> libxkbcommon-x11.so.0, which can be solved with sudo apt install libxkbcommon-x11-0.

See https://www.riverbankcomputing.com/pipermail/pyqt/2019-February/041363.html.

from minegauler.

LewisGaul avatar LewisGaul commented on July 18, 2024

I'm not sure why there is this new dependency, and whether it should automatically be included when you pip install pyqt5 (it currently doesn't seem to be).

As far as I remember, I didn't have to install any other similar dependencies for PyQt5, so to avoid people having to do this, I'm not going to bump the version of PyQt5 in requirements.txt. This means that the requirements listed in requirements.txt are not available for Python3.8.

The application runs fine on Python3.8 with the latest version of PyQt5.

from minegauler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.