PyViz Installation

2,329 views
Skip to first unread message

Smach Meriem

unread,
Apr 28, 2015, 7:25:00 AM4/28/15
to ns-3-...@googlegroups.com
Dear Ns3 Users,
I am trying to add the pyviz module in my ns3.22. So  I refer to PyViz - Nsnam.

 
 
image
 
 
 
 
 
PyViz - Nsnam
Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects
Aperçu par Yahoo
 
  I try to execute the command:
sudo apt-get install python-dev python-pygraphviz python-kiwi python-pygoocanvas \
                     python-gnome2 python-gnomedesktop python-rsvg
 But I find a problem that E: Impossible de trouver le paquet python-gnomedesktop
That means it don't find python-gnomedesktop packet.
I would be very grateful if you could help me.
Thanks i advance.

Ps: if you find my question stupid, so please don't answer. I think that is more better than hurt a beginner's feeling. Thank you.
 

Tommaso Pecorella

unread,
Apr 28, 2015, 7:41:43 AM4/28/15
to ns-3-...@googlegroups.com, merie...@yahoo.fr
Hi,

actually the question isn't stupid. Normally I'd say that it's your OS, and you should be able to find a package, but this is something we wrote in the wiki. It have to work (or, at least, there should be a warning if it could not work).

I don't have an Ubuntu VM greater than 12.x here, but I believe that the package is now named "python-gnome2-desktop".
For sure the package named "python-gnomedesktop" is not anymore in Ubuntu. It seems that it was removed (or renamed) in 13.x

Can you try and tell us if installing the package "python-gnome2-desktop" works ? We'll have to update the wiki in case.

Thanks,

T.

Smach Meriem

unread,
Apr 28, 2015, 7:55:31 AM4/28/15
to ns-3-...@googlegroups.com
Dear Sir,
 Thank you for your quick reply. But If you mean that the command will be like this:
sudo apt-get install python-dev python-pygraphviz python-kiwi python-pygoocanvas python-gnome2-desktop  python-rsvg
 So i still have the same problem.
 
 Thank you.



--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.


Tommaso Pecorella

unread,
Apr 28, 2015, 8:10:11 AM4/28/15
to ns-3-...@googlegroups.com, merie...@yahoo.fr
Hi,

try installing the packages one by one. Post the full error message for each of the packages that can't be installed and tell us what version of Linux you're  using.

Thanks,

T,

Smach Meriem

unread,
Apr 28, 2015, 9:04:39 AM4/28/15
to ns-3-...@googlegroups.com
Dear Sir,
All packages are installed only  python-gnomedesktop, This is the mistake:

smach@smach-Lenovo-G580:~$ sudo apt-get install python-gnomedesktop
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait

E: Impossible de trouver le paquet python-gnomedesktop
smach@smach-Lenovo-G580:~$
I translate for you  that means that  the packet python-gnomedestop is not found.
I use Ubuntu 14.04.
Thanks in advance.

Tommaso Pecorella

unread,
Apr 28, 2015, 9:12:01 AM4/28/15
to ns-3-...@googlegroups.com, merie...@yahoo.fr
Hi,

as I said, do NOT install python-gnomedesktop and install python-gnome2-desktop instead.
If there is no further error, proceed with the instructions and see if all works.

Cheers,

T.

Smach Meriem

unread,
Apr 28, 2015, 9:39:39 AM4/28/15
to Tommaso Pecorella, ns-3-...@googlegroups.com
I execute this command sudo apt-get install python-gnome2-desktop  and this is the result:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
Package python-gnome2-desktop is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-wnck python-rsvg python-gnomekeyring

E: Package 'python-gnome2-desktop' has no installation candidate
I try to install those package:

sudo apt-get python-wnck

sudo apt-get python-rsvg

sudo apt-get  python-gnomekeyring
  and problem is resolved.
 Thank you very much sir.

Done.png

Smach Meriem

unread,
Apr 28, 2015, 10:06:28 AM4/28/15
to ns-3-...@googlegroups.com
Thank you Maoua Lri. It has already worked.



Le Mardi 28 avril 2015 15h57, Maroua Lrit <dmar...@gmail.com> a écrit :


Hi,
Try to install Synaptic Package Manager, and search for "python-gnome", the package manager will suggest to you the available versions you can install.
Do it for all the per-required packages for ns3. It worked for me.

Regards

Smach Meriem

unread,
Apr 28, 2015, 11:12:09 AM4/28/15
to ns-3-...@googlegroups.com
When I am trying to test Pyviz with some simple program such as  first.cc , second.cc etc..., I don't have  result only for program where network includes more than two nodes. I don't have  result for first.cc but i have one for third.cc.
 thanks in advance.

Maroua Lrit

unread,
Apr 28, 2015, 9:57:32 AM4/28/15
to ns-3-...@googlegroups.com
Hi,
Try to install Synaptic Package Manager, and search for "python-gnome", the package manager will suggest to you the available versions you can install.
Do it for all the per-required packages for ns3. It worked for me.

Regards
2015-04-28 14:39 GMT+01:00 'Smach Meriem' via ns-3-users <ns-3-...@googlegroups.com>:

lorasha...@gmail.com

unread,
Feb 12, 2016, 4:14:37 PM2/12/16
to ns-3-users
Hi all,

I installed PyViz,like the same instruction above,
while running wifi-simple-infra, by ./waf --run scratch/wifi-simple-infra I see this error:


Waf: Entering directory `/home/lora/repos/bake/source/ns-3.24.1/ns-3.24.1/build'
Waf: Leaving directory `/home/lora/repos/bake/source/ns-3.24.1/ns-3.24.1/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (1.486s)
Testing 1 packets sent with receiver rss -80
16:14:00 environ              No en_CA translation found for domain kiwi
Could not load icon applets-screenshooter due to missing gnomedesktop Python module
Could not load icon gnome-terminal due to missing gnomedesktop Python module
scanning topology: 2 nodes...
scanning topology: calling graphviz layout
scanning topology: all done.

can anyone help? I tried to install synaptic it shows me I have to install python-gnome2-desktop-dev,I did but still have the same error.
can anyone help?

TX
Message has been deleted

Mahsa Ep

unread,
Apr 19, 2017, 9:09:45 AM4/19/17
to ns-3-users, tomm...@gmail.com, merie...@yahoo.fr
same problem here! i have tried those 3 command individually with no error but I still cant get a vis output.
Reply all
Reply to author
Forward
0 new messages