Ask Your Question

pyreverse command is not woking

asked 2015-05-24 12:26:52 -0600

praveens gravatar image

updated 2015-05-24 12:33:25 -0600

Hi All

Stared working on Keystone code,Not able to succeed in running pyreverse command to generate Class diagrams. .

I followed the steps provided in this urls ( example which they have provided is working fine)

pyreverse -o png -p Pyreverse pylint/pyreverse/ ( generated both class and package diagrams)

Here is the steps which I followed.

Step 1

Checked out the keystone kilo stable release from github to my localfolder(/home/praveens/git/keystone/)

Step 2

install dot using the command sudo apt-get install graphviz

Step 3

pyreverse -o png -p /home/praveens/git/keystone (not generating any class or package diagrams)

Please let me know how to resolve this issue, thanks in advance. Also I would like to know how to run the command for individual package.

Best Regards


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-05-29 10:54:35 -0600

praveens gravatar image

Problem is solved

while executing the command we need to provide package name after -p option( name will be appended to both class and package after executing the command).....It solved my problem


pyreverse -o png -p keystone /home/praveens/git/keystone

Best Regards


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-05-24 12:26:52 -0600

Seen: 1,820 times

Last updated: May 29 '15