Giter VIP home page Giter VIP logo

Comments (3)

MatthiasSchinzel avatar MatthiasSchinzel commented on June 18, 2024

Hi, looks like a Problem with PyQtGraph to me, which has problems with the PyQt5 installation. As the error messages tell us, sip cannot be imported (from PyQt5).

So if this is the case this command probably already fails:
python -c "import pyqtgraph"
And this command will very likely fail with a similar error message and is the root of your problem:
python -c "from PyQt5 import sip"

Did you install PyQt5 already before with some other package manager, something like apt-get install python3-pyqt5?
Not a 100% sure, but I think the path /usr/lib/python3/dist-packages is used by for example apt, whereas site-packages (./.local/lib/python3.8/site-packages) is used by pip.
With
dpkg -l | grep "pyqt"
you can see if you also installed PyQt5 via a packet manager.
And with
pip list | grep "PyQt"
you can check the pip installed version.

It would be great if you can post the output of the commands here. Thank you!

from sysmon.

neigaard avatar neigaard commented on June 18, 2024

Thank you for getting back to me.

I have Python3 installed via the Mint Software Manager (and it seems to be impossible to uninstall, I guess it is needed by Mint somehow). Hereunder you have the output of those two commands, using pip3 not pip as I do not have a pip command.

dpkg -l | grep "pyqt"
ii python3-pyqt5 5.14.1+dfsg-3build1 amd64 Python 3 bindings for Qt5
ii python3-pyqt5.qtsvg 5.14.1+dfsg-3build1 amd64 Python 3 bindings for Qt5's SVG module
ii python3-pyqt5.qtwebchannel 5.14.1+dfsg-3build1 amd64 Python 3 bindings for Qt5's WebChannel module
ii python3-pyqt5.qtwebengine 5.14.0-2build1 amd64 Python 3 bindings for Qt5's WebEngine module

pip3 list | grep "PyQt"
PyQt5 5.14.1
PyQt5-sip 12.8.1
PyQtWebEngine 5.14.0

Thank you
Søren

from sysmon.

neigaard avatar neigaard commented on June 18, 2024

Running "pip3 install sysmon --force" fixed my problem :)

from sysmon.

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.