PyQt & Pyqtgraph on M1 Mac
-
Hi, I'm trying to set up my new M1 Mac mini for a development project which includes pyqt and pyqtgraph. I'm also trying to avoid Rosetta 2, as it seems that both pyqt and pyqtgraph are available for native arm. I can get pyqt from Homebrew and pyqtgraph from miniforge.
Is it somehow possible to use these packages together, even though they are provided by different package managers?
Cheers, Chris
-
Hi, I'm trying to set up my new M1 Mac mini for a development project which includes pyqt and pyqtgraph. I'm also trying to avoid Rosetta 2, as it seems that both pyqt and pyqtgraph are available for native arm. I can get pyqt from Homebrew and pyqtgraph from miniforge.
Is it somehow possible to use these packages together, even though they are provided by different package managers?
Cheers, Chris
@ChristopherLeon
pyqtgraph
is pure python as far as i know, so it shouldn't be a problem to use it from different source.
I usepyqtgraph
withPySide6
and it works fine but you need to import Qt 6 modules strictly before anypyqtgraph
import (there is an option to forcepyqtgraph
to use desired Qt version but it doesn't support Qt 6 yet so you need to rely on auto-detection).
And I can't comment about M1. But I hope it will work as you say packages are available.