[ndnSIM] question about PyViz visualizer when installing

Alex Afanasyev alexander.afanasyev at ucla.edu
Sat Mar 9 20:46:15 PST 2013


Hi Yao,

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 (https://bugzilla.redhat.com/show_bug.cgi?id=740687) and graphviz-python is apparently something totally different and unrelated to pygraphviz.

In any case, there is an easy method to make it work on Fedore (I just updated downloading section on ndnsim.net website):
sudo yum install pygoocanvas python-kiwi graphviz-python

# easy_install method, since pygraphviz is not yet packaged into Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=740687)
sudo yum install graphviz-devel
sudo yum install python-pip
sudo easy_install pygraphviz

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.

Let us know if you still have problems.

---
Alex

On Mar 6, 2013, at 4:41 AM, yao hu <huyao0107 at gmail.com> wrote:

> Dear all,
> 
> Hello, everybody. I am new to ndnsim. I have a question about PyViz visualizer. Could you help me? 
> 
> I am a fedora16 user and now installing ndnsim according to the instruction on the HP http://ndnsim.net/getting-started.html#downloading-ndnsim-source.
> There is no problem when I `configure` without python bindings using the following command
> 
> ./waf configure --disable-python --enable-examples
>  
> However, when I `configure` using the following command in order to run simulations with visualizer
> 
> ./waf configure --enable-examples
> 
> The PyViz visualizer line will be shown as follows
> PyViz visualizer : not enabled (Missing python modules: pygraphviz)
> 
> It seems that the pygraphviz was not installed, but actually it has been already installed.
> Package graphviz-python-2.28.0-11.fc16.i686 already installed and latest version
> 
> Does anybody know what is the cause of this? Thanks in advance!
> 
> Regards,
> huyao
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130309/a89931a4/attachment.html>


More information about the ndnSIM mailing list