Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphviz needs to be installed error #2

Open
Yoliq opened this issue Apr 27, 2023 · 1 comment
Open

Graphviz needs to be installed error #2

Yoliq opened this issue Apr 27, 2023 · 1 comment

Comments

@Yoliq
Copy link

Yoliq commented Apr 27, 2023

Windows 10 OS using powershell according to instructions yields result:

PS C:\Windows\system32> C:\Users\s4tyd\appdata\local\programs\python\python310\Scripts\pyreverse -o png C:\Users\s4tyd\Downloads\umbrello\Design-of-Information-Systems-master\diagram_generation\sample
'Graphviz' needs to be installed for your chosen output format.

After installing Graphviz from https://graphviz.org/download/ using *exe installer the issue was solved. It is needed to select option "add graphviz to path" option during installation.

Working example:

PS C:\Users\s4tyd> C:\Users\s4tyd\appdata\local\programs\python\python310\Scripts\pyreverse -o png C:\Users\s4tyd\Downloads\umbrello\Design-of-Information-Systems-master\diagram_generation\sample
Format png is not supported natively. Pyreverse will try to generate it using Graphviz...
parsing C:\Users\s4tyd\Downloads\umbrello\Design-of-Information-Systems-master\diagram_generation\sample.py...
PS C:\Users\s4tyd>

The reverse diagram *png file is saved into current path selected in powershell/command line (for example above it is saved as 'classes.png' file in C:\Users\s4tyd

@Yoliq
Copy link
Author

Yoliq commented Apr 27, 2023

Issue already solved and can be closed. Instructions how to solve the issue wrote down into the ticket. Please implement precondition that graphviz needs to be installed and included in system path for this manual to work on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant