Dear Alex,<div><br></div><div>Thanks very much for your explanation. After I did the following instruction, it works now. </div><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">
<br class="Apple-interchange-newline">sudo yum install graphviz-devel
sudo easy_install pygraphviz</pre></div></div><div>And also I can run the example simulations in visualizer.</div><div><br></div><div>Thanks again for your reply.</div><div><br></div><div><br></div><div><div class="gmail_quote">
2013/3/10 Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><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" target="_blank">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" target="_blank">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 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" target="_blank">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><div class="h5"><div>On Mar 6, 2013, at 4:41 AM, yao hu <<a href="mailto:huyao0107@gmail.com" target="_blank">huyao0107@gmail.com</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5">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" target="_blank">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="border-bottom-width:1px;line-height:14px;overflow-x:auto;border-top-color:rgb(170,204,153);overflow-y:hidden;font-size:12px;border-style:solid none;padding:5px;border-bottom-color:rgb(170,204,153);border-top-width:1px">
./waf configure --disable-python --enable-examples</pre></div><div> </div><div>However, when I `configure` using the following command in order to <span style="line-height:15px;text-align:justify;font-size:12px;font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif">run simulations with visualizer</span></div>

<div><span style="line-height:15px;text-align:justify;font-size:12px;font-family:'Lucida Grande',Verdana,Geneva,Arial,sans-serif"><br></span></div><div><pre style="border-bottom-width:1px;line-height:14px;overflow-x:auto;border-top-color:rgb(170,204,153);overflow-y:hidden;font-size:12px;border-style:solid none;padding:5px;border-bottom-color:rgb(170,204,153);border-top-width:1px">
./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></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br></div></blockquote></div><br></div>