Skip to content

various errors #17

@ManiaccoUniBZ

Description

@ManiaccoUniBZ

Hi!
first, thank you so much for the code. It is exactly what I am looking for.

I am using an AWR1443Boost module (same as IWR1443 but it handles better high temperatures).
I need to run the code (I have Microsoft Visual Studio Code v1.73.1). but seem always to run in some errors (I am quite new to python).

Which version of the various packages (numpy, pyqtgraph, ecc...) do I need to make it run smoothly?
I saw you posted this code 4 years ago but when I installed the versions of that time I still get the same errors.

First I got
Traceback (most recent call last): File "c:\Users\ViconPC\Desktop\IWR1443-Read-Data-Python-MMWAVE-SDK-1-master\readData_IWR1443.py", line 304, in <module> app = QtGui.QApplication([]) AttributeError: module 'pyqtgraph.Qt.QtGui' has no attribute 'QApplication'. Did you mean: 'QGuiApplication'?

which I fixed by changing the code at the beginning (I left your code as a comment)
import serial import time import numpy as np import pyqtgraph as pg #from pyqtgraph.Qt import QtGui import pyqtgraph.Qt.QtWidgets as QtGui

It fixed that error but I still get the following:
Traceback (most recent call last): File "c:\Users\ViconPC\Desktop\IWR1443-Read-Data-Python-MMWAVE-SDK-1-master\readData_IWR1443.py", line 308, in <module> win = pg.GraphicsWindow(title="2D scatter plot") AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow'. Did you mean: 'GraphicsView'?

I tried everything and do seem to be able to handle it.

Can you help me?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions