Code Monkey home page Code Monkey logo

Comments (14)

paulr4 avatar paulr4 commented on August 12, 2024 3

Thanks, I solved my pyqtgraph problem with pip install pyqtgraph==0.10.0.
Now I get:
AttributeError: module 'time' has no attribute 'clock'
Which seems to have been removed after Python 3.7.

from pyflightanalysis.

paulr4 avatar paulr4 commented on August 12, 2024 1

I get the following:

>>> from pyqtgraph.Qt import QtOpenGL
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'QtOpenGL' from 'pyqtgraph.Qt' (C:\Users\paulr\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-pa
ckages\pyqtgraph\Qt\__init__.py)

from pyflightanalysis.

m1baldwin avatar m1baldwin commented on August 12, 2024

Seeing the same thing on Ubuntu 18.04 as well, after following the installation instructions to install from pip

from pyflightanalysis.

Marxlp avatar Marxlp commented on August 12, 2024

Could you give your versions of pyqtgraph and qt bindings for python here?

from pyflightanalysis.

paulr4 avatar paulr4 commented on August 12, 2024

For me (Windows), pyqtgraph is version 0.12.2. How do I find the qt bindings version?
[edit - corrected pyqtgraph version, numpy is 1.21.1]

from pyflightanalysis.

Marxlp avatar Marxlp commented on August 12, 2024

run pip list and find PyQt or PySide from the output.

from pyflightanalysis.

paulr4 avatar paulr4 commented on August 12, 2024

I see the following:

PyOpenGL         3.1.5
PyQt5            5.15.4
PyQt5-Qt5        5.15.2
PyQt5-sip        12.9.0
pyqtgraph        0.12.2

from pyflightanalysis.

Marxlp avatar Marxlp commented on August 12, 2024

Try executing from pyqtgraph.Qt import QtOpenGL in your python interpreter, and see whether it will be fine.

from pyflightanalysis.

Marxlp avatar Marxlp commented on August 12, 2024

This may due to the code structure change in pyqtgraph library.Currently to solve the issue, you can try version 0.10.0 for pyqtgraph. I will update the code on the repo when I am free.

from pyflightanalysis.

AlNaCl avatar AlNaCl commented on August 12, 2024

I have met the same problem in Python3.10.0.

from pyflightanalysis.

Marxlp avatar Marxlp commented on August 12, 2024

try using pyqtgraph==0.11.0

from pyflightanalysis.

AlNaCl avatar AlNaCl commented on August 12, 2024

I have solved the problem.The version of python results in this problem.

from pyflightanalysis.

yeshangjun avatar yeshangjun commented on August 12, 2024

I have solved the problem.The version of python results in this problem.

which version of python do you use?
I have tried 3.6, 3.7, 3.10
still got the error

from pyflightanalysis.

LukesFatherDarth avatar LukesFatherDarth commented on August 12, 2024

@AlNaCl > I have solved the problem.The version of python results in this problem.

Which python version have you used to solve the problem?

from pyflightanalysis.

Related Issues (19)

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.