alfredholmes / TeXNotes

Zettelkasten or Slip box with notes written in LaTeX
MIT License
45 stars 4 forks source link

MacOS - Use of pygraphviz #4

Open gro1729 opened 1 year ago

gro1729 commented 1 year ago

MacOS sometimes behaves something strange.

In order to use the script "network.py" pygraphviz has to be installed, which does not work properly with "pip install". Provided graphviz is already installed by using "brew install" I had to use the below standing commandline

python3 -m pip install \ --global-option=build_ext \ --global-option="-I$(brew --prefix graphviz)/include/" \ --global-option="-L$(brew --prefix graphviz)/lib/" \ pygraphviz

May be this is a useful hint for other users of the "Zettelkasten"

alfredholmes commented 1 year ago

Thanks for pointing this out. Another option would be to use virtualenv