<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Yao,</div><div><br></div><div>Sorry for the delayed reply.  I was trying to figure out what is happening with Fedora.  Apparently, pygraphviz is not yet packaged  even in the latest Fedora (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=740687">https://bugzilla.redhat.com/show_bug.cgi?id=740687</a>) and graphviz-python is apparently something totally different and unrelated to pygraphviz.</div><div><br></div><div>In any case, there is an easy method to make it work on Fedore (I just updated downloading section on <a href="http://ndnsim.net">ndnsim.net</a> website):</div><div><pre style="overflow-x: auto; overflow-y: hidden; padding: 5px; line-height: 14px; border-top-width: 1px; border-bottom-width: 1px; border-style: solid none; border-top-color: rgb(170, 204, 153); border-bottom-color: rgb(170, 204, 153); font-size: 12px; text-align: justify; ">sudo yum install pygoocanvas python-kiwi graphviz-python

<span class="c" style="color: rgb(64, 128, 144); font-style: italic;"># easy_install method, since pygraphviz is not yet packaged into Fedora (<a href="https://bugzilla.redhat.com/show_bug.cgi?id=740687">https://bugzilla.redhat.com/show_bug.cgi?id=740687</a>)</span>
sudo yum install graphviz-devel
sudo yum install python-pip
sudo easy_install pygraphviz</pre><div><br></div><div>I just checked these instruction in my fresh fedora 16 installation running in a virtual machine and they are worked.  I was even able to run an example simulation in visualizer.</div></div><div><br></div><div>Let us know if you still have problems.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><div>On Mar 6, 2013, at 4:41 AM, yao hu <<a href="mailto:huyao0107@gmail.com">huyao0107@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear all,<div><br></div><div>Hello, everybody. I am new to ndnsim. I have a question about PyViz visualizer. Could you help me? </div><div><br></div><div>I am a fedora16 user and now installing ndnsim according to the instruction on the HP <a href="http://ndnsim.net/getting-started.html#downloading-ndnsim-source">http://ndnsim.net/getting-started.html#downloading-ndnsim-source</a>.</div>
<div>There is no problem when I `configure` without python bindings using the following command</div><div><br></div><div><pre style="overflow-x:auto;overflow-y:hidden;padding:5px;line-height:14px;border-top-width:1px;border-bottom-width:1px;border-style:solid none;border-top-color:rgb(170,204,153);border-bottom-color:rgb(170,204,153);font-size:12px;background-color:rgb(255,255,255)">./waf configure --disable-python --enable-examples</pre></div><div> </div><div>However, when I `configure` using the following command in order to <span style="background-color:rgb(255,255,255);font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif;font-size:12px;line-height:15px;text-align:justify">run simulations with visualizer</span></div>
<div><span style="background-color:rgb(255,255,255);font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif;font-size:12px;line-height:15px;text-align:justify"><br></span></div><div><pre style="overflow-x:auto;overflow-y:hidden;padding:5px;line-height:14px;border-top-width:1px;border-bottom-width:1px;border-style:solid none;border-top-color:rgb(170,204,153);border-bottom-color:rgb(170,204,153);font-size:12px;background-color:rgb(255,255,255)">./waf configure --enable-examples</pre></div><div><br></div><div>The PyViz visualizer line will be shown as follows</div><div>PyViz visualizer : not enabled (Missing python modules: pygraphviz)</div><div><br></div><div>It seems that the pygraphviz was not installed, but actually it has been already installed.</div>
<div>Package graphviz-python-2.28.0-11.fc16.i686 already installed and latest version</div><div><br></div><div>Does anybody know what is the cause of this? Thanks in advance!</div><div><br></div><div>Regards,</div>
<div>huyao</div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>