WireViz icon indicating copy to clipboard operation
WireViz copied to clipboard

[bug] templates missing when installed using pip3

Open AlexHaijiaZhu opened this issue 9 months ago • 1 comments

WireViz (0.4), Graphviz (11.0.0), Python (3.12), Windows 11

When install the WireViz using pip3 install wireviz, it seems that the template folder are not installed which lead to the error message: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Python312\\Lib\\site-packages\\wireviz\\templates\\simple.html'

To fix it: copy the template folder to the C:\\PythonXXX\\Lib\\site-packages\\wireviz\\

AlexHaijiaZhu avatar May 23 '24 23:05 AlexHaijiaZhu