Followed the directions to install. Can't even run it -h.

(venv) localuser@Vision-Development:~/Luxonis/MV4.5$ pipeline_graph -h

Stack trace (most recent call last):

#31 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x581e9c, in

#30 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5d352b, in

#29 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5d59aa, in PyEval_EvalCode

#28 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5dc8ed, in _PyEval_EvalFrameDefault

#27 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5fde84, in PyImport_ImportModuleLevelObject

#26 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x54b5b2, in PyObject_CallMethodObjArgs

#25 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x549d26, in

#24 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5db592, in _PyEval_EvalFrameDefault

#23 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x581e9c, in

#22 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5d352b, in

#21 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5d59aa, in PyEval_EvalCode

#20 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5dc8ed, in _PyEval_EvalFrameDefault

#19 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5fde84, in PyImport_ImportModuleLevelObject

#18 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x54b5b2, in PyObject_CallMethodObjArgs

#17 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x549d26, in

#16 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5db592, in _PyEval_EvalFrameDefault

#15 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x581e9c, in

#14 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5d352b, in

#13 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5d59aa, in PyEval_EvalCode

#12 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5dc8ed, in _PyEval_EvalFrameDefault

#11 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5fde84, in PyImport_ImportModuleLevelObject

#10 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x54b5b2, in PyObject_CallMethodObjArgs

#9 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x549d26, in

#8 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5db592, in _PyEval_EvalFrameDefault

#7 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x5820b6, in

#6 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x6a8c71, in

#5 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x6a9520, in

#4 Object "/home/localuser/Luxonis/venv/lib/python3.12/site-packages/shiboken2/shiboken2.abi3.so", at 0x77f620202364, in PyInit_shiboken2

#3 Object "/home/localuser/Luxonis/venv/lib/python3.12/site-packages/shiboken2/libshiboken2.abi3.so.5.13", at 0x77f61ba25b05, in FinishSignatureInitialization

#2 Object "/home/localuser/Luxonis/venv/lib/python3.12/site-packages/shiboken2/libshiboken2.abi3.so.5.13", at 0x77f61ba23887, in

#1 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x458aee, in PyDict_GetItemString

#0 Object "/home/localuser/Luxonis/venv/bin/python3", at 0x575ef5, in PyDict_GetItem

Segmentation fault (Address not mapped to object [0x8])

Segmentation fault (core dumped)

Hi @magoldsm
Could you run pip list and paste the output. I think you might have conflicting qt versions.

Thanks,
Jaka

Package Version

---------------------- ----------

apriltag 0.0.16

blobconverter 1.4.3

certifi 2024.2.2

charset-normalizer 2.0.12

Deprecated 1.2.14

depthai 2.24.0.0

depthai_pipeline_graph 0.0.5

depthai-sdk 1.9.4

depthai-viewer 0.2.0

distinctipy 1.3.4

ffmpy3 0.2.4

idna 3.7

lz4 4.3.3

marshmallow 3.17.0

mcap 1.1.1

mcap-ros1-support 0.0.8

numpy 1.26.4

opencv-contrib-python 4.5.5.62

packaging 24.0

pip 24.0

pyarrow 16.0.0

pynetworktables 2021.0.0

PyQt5 5.15.5

PyQt5-Qt5 5.15.2

PyQt5-sip 12.13.0

PySide2 5.13.2

pytube 15.0.0

PyTurboJPEG 1.6.4

pyusb 1.2.1

PyYAML 6.0.1

Qt.py 1.4.1

requests 2.26.0

robotpy-apriltag 2024.3.2.1

robotpy-wpimath 2024.3.2.1

robotpy-wpiutil 2024.3.2.1

rosbags 0.9.11

ruamel.yaml 0.18.6

ruamel.yaml.clib 0.2.8

scipy 1.13.0

sentry-sdk 1.5.1

setuptools 69.5.1

shiboken2 5.13.2

types-PySide2 5.15.2.1.7

urllib3 1.26.18

wrapt 1.16.0

xmltodict 0.13.0

zstandard 0.22.0

Hi @magoldsm
Try deleting pyside. Also maybe reinstalling the pipeline_graph since there is something clearly wrong with the installation as well. Maybe install it from source is pypi wheels fail.

Thanks,
Jaka

    jakaskerl

    Here's how I started from (almost) scratch:

    1. Created a new directory Retry
    2. cd Retry; python3 -m venv venv
    3. pip install depthai
    4. pip install pipeline_graph
    5. pip install PySide2

    Same crash.

    So, I removed PySide2 and installed PyQt5. Now the error was a missing import of distutils. Sadly, that is no longer included in Python 3.13. So, I also pip install setuptools. No more Python crash, but…

    (venv) localuser@Vision-Development:~/Retry$ pipeline_graph

    Traceback (most recent call last):

    File "/home/localuser/Retry/venv/bin/pipeline_graph", line 5, in <module>

    from depthai_pipeline_graph.pipeline_graph import main

    File "/home/localuser/Retry/venv/lib/python3.12/site-packages/depthai_pipeline_graph/pipeline_graph.py", line 8, in <module>

    from .NodeGraphQt import NodeGraph, BaseNode, PropertiesBinWidget

    File "/home/localuser/Retry/venv/lib/python3.12/site-packages/depthai_pipeline_graph/NodeGraphQt/__init__.py", line 92, in <module>

    from .custom_widgets.nodes_palette import NodesPaletteWidget

    File "/home/localuser/Retry/venv/lib/python3.12/site-packages/depthai_pipeline_graph/NodeGraphQt/custom_widgets/nodes_palette.py", line 115, in <module>

    class NodesGridProxyModel(QtCore.QSortFilterProxyModel):

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    AttributeError: module 'Qt.QtCore' has no attribute 'QSortFilterProxyModel'

    Thanks,
    Michael

    Hi @magoldsm
    I think you are missing PyQT from the new environment. pip install pyqt5. Also maybe using a different python3 version would not be a bad idea since many packages are probably missing in the new version.

    Thanks,
    Jaka

    @lasse
    Depthai version (newer versions) should have no effect on pipeline graph. 2.25.1 works fine for me. Worth giving it a shot incase there might be some other underlying issue.

    Thanks
    Jaka