[ndnSIM] car2car example

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Apr 17 17:04:42 PDT 2013


Hi Milad,

Just run the following command, which will install the missing python library

sudo easy_install workerpool

If it complains that easy_install is not found, then just install it using:

sudo apt-get install python-setuptools

---
Alex

On Apr 17, 2013, at 4:59 PM, Milad Mahdian <mahdian.m at husky.neu.edu> wrote:

> Hi Alex,
> 
> I am trying to run the car2car example. After following the instructions on :http://ndnsim.net/getting-started.html#simulating-using-ndnsim, building the scenario, and running it successfully, I get :
>  
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf --run car-relay
> Waf: Entering directory `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'
> Waf: Leaving directory `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'
> 'build' finished successfully (0.017s)
> 
> However, when I want it to show the results in a figure I get this error
> 
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./run.py -s figure-4-data-propagation-vs-distance
> Traceback (most recent call last):
>   File "./run.py", line 8, in <module>
>     import workerpool
> ImportError: No module named workerpool
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./run.py figure-5-retx-count
> Traceback (most recent call last):
>   File "./run.py", line 8, in <module>
>     import workerpool
> ImportError: No module named workerpool
> 
> And this is the waf configuration:
> milad at ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf configure
> Setting top to                           : /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car 
> Setting out to                           : /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build 
> Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
> Checking boost includes                  : 1_49 
> Checking boost libs                      : ok 
> Checking for boost linkage               : ok 
> Checking for program pkg-config          : /usr/bin/pkg-config 
> Checking for pkg-config version >= '0.0.0' : yes 
> Checking for ns3-ndnSIM                    : yes 
> Checking for ns3-core                      : yes 
> Checking for ns3-network                   : yes 
> Checking for ns3-internet                  : yes 
> Checking for ns3-point-to-point            : yes 
> Checking for ns3-topology-read             : yes 
> Checking for ns3-applications              : yes 
> Checking for ns3-mobility                  : yes 
> Checking for ns3-wifi                      : yes 
> Checking for ns3-visualizer                : yes 
> 'configure' finished successfully (0.300s)
> 
> can you please help me solve this problem?
> 
> 
> Regards,
> Milad
> _______________________________________________
> 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/20130417/77e07e78/attachment.html>


More information about the ndnSIM mailing list