Closed alexwilson1 closed 1 month ago
Thats not a problem of eralchemy2 but of the pygraphviz installation.
I thought that installing libgraphviz-dev is enough. Is that not the case? Should we update installation instructions to make it clearer that this is required?
I just tested it and running sudo apt install graphviz libgraphviz-dev
prior to installation does seem sufficient. The instructions only mention installing graphviz, but on Aarch64 I was receiving the error given above (which libgraphviz-dev solved). Thanks!
On Mac you may need to run: pip install --use-pep517 --config-settings=--global-option=build_ext --config-settings=--global-option="-I$(brew --prefix graphviz)/include" --config-settings=--global-option="-L$(brew --prefix graphviz)/lib" pygraphviz
When using conda, you can also simply install with conda install -c conda-forge eralchemy2
, which also brings the graphviz dependency through pygraphviz from conda :)
The latest release also includes install instructions in the REAMDE. I will therefore close this issue.
Installing on aarch64 (Linux) gives the error described in this thread:
Workaround for me was to run this: