hanspi42 / signalflowgrapher

This Python tool allows you to draw signal-flow graphs, calculate transfer functions (SymPy code is generated for further use in Jupyter notebooks), do graph manipulations (e.g., node elimination and graph transposition), and save a graph as TikZ for use in LaTeX documentation.
Artistic License 2.0
30 stars 6 forks source link

Install instructions will fail for ARM based python installations on AS Mac (macOS 13.4.1) #48

Open arturoEE opened 12 months ago

arturoEE commented 12 months ago

Hello!

Not an issue with signalflowgrapher itself, but following the install instructions (conda), on an ARM based MacBook (M1/M2) will fail with error: metadata-generation-failed. This seems to be an issue with PyQt5 specifically, perhaps related to this.

Installing the x86_64 version of Python 3.11 does indeed allow for PyQt5 to be installed with pip or by creating an environment with the yml file, so folks should make sure to use an x86_64 Python installations if trying to use signalflowgrapher on an AS Mac.

I'm using mini forge (link), and it is pretty simple to create an x86_64 environment with the following: CONDA_SUBDIR=osx-64 conda env create -n sfg_x86 --file ~/<Path to sfg>/requirements/sfg.yml

hanspi42 commented 11 months ago

Thank you very much!