PlotNeuralNet icon indicating copy to clipboard operation
PlotNeuralNet copied to clipboard

How can I use this amazing tool in Mac OS?

Open maihao14 opened this issue 4 years ago • 2 comments

Hi Lutz Roeder: Could you give more tutorials about how to run examples (eg. unet.py) in the Mac OS environment? I tried to install PlotNeuralNet package but I found I cannot input a *.py file. Then I tried git clone the repo then run bash ../tikzmake.sh my_arch it still not working. ../tikzmake.sh: line 5: pdflatex: command not found rm: *.aux: No such file or directory rm: *.log: No such file or directory rm: *.vscodeLog: No such file or directory The file /Users/hao/OneDrive - University of Ottawa/Python2019/Lina-Seismic/Lina-Seismic-Playground/NetronPlot/PlotNeuralNet/pyexamples/test_simple.pdf does not exist.

maihao14 avatar Jun 10 '20 23:06 maihao14

Try running the lines in tikzmake.sh one by one to exactly trace the issue. I have a MacOS as well and I am able to run the examples seamlessly. It looks like either you do not have pdflatex or your python code does not complete execution.

krishnaw14 avatar Jun 15 '20 11:06 krishnaw14

Hi Lutz Roeder: Could you give more tutorials about how to run examples (eg. unet.py) in the Mac OS environment? I tried to install PlotNeuralNet package but I found I cannot input a *.py file. Then I tried git clone the repo then run bash ../tikzmake.sh my_arch it still not working. ../tikzmake.sh: line 5: pdflatex: command not found rm: *.aux: No such file or directory rm: *.log: No such file or directory rm: *.vscodeLog: No such file or directory The file /Users/hao/OneDrive - University of Ottawa/Python2019/Lina-Seismic/Lina-Seismic-Playground/NetronPlot/PlotNeuralNet/pyexamples/test_simple.pdf does not exist.

From the output, I believe you do not have pdflatex installed.

You can use the this to download the pkg. Once that is installed, just open a new terminal and you should have pdflatex installed.

saisk8 avatar Jun 17 '20 08:06 saisk8