<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; ">Hi Milad,<div><br></div><div>Just run the following command, which will install the missing python library</div><div><br></div><pre class="prettyprint codeblock" style="margin-top: 0px; margin-bottom: 12px; padding: 2px; background-color: rgb(238, 232, 217); font-size: 14px; font-family: 'Courier New'; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; overflow: auto; border: 1px solid rgb(136, 136, 136); color: rgb(63, 63, 63); "><span class="pln" style="color: rgb(0, 0, 0);">sudo easy_install workerpool</span></pre><div><br></div><div>If it complains that easy_install is not found, then just install it using:</div><div><br></div><div><pre class="prettyprint codeblock" style="margin-top: 0px; margin-bottom: 12px; padding: 2px; background-color: rgb(238, 232, 217); font-size: 14px; font-family: 'Courier New'; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; overflow: auto; border: 1px solid rgb(136, 136, 136); color: rgb(63, 63, 63); "><span class="pln" style="color: rgb(0, 0, 0);">sudo apt</span><span class="pun" style="color: rgb(102, 102, 0);">-</span><span class="kwd" style="color: rgb(0, 0, 136);">get</span><span class="pln" style="color: rgb(0, 0, 0);"> install python</span><span class="pun" style="color: rgb(102, 102, 0);">-</span><span class="pln" style="color: rgb(0, 0, 0);">setuptools</span></pre><div><br></div><div>---</div><div>Alex</div><div><br></div><div><div>On Apr 17, 2013, at 4:59 PM, Milad Mahdian <<a href="mailto:mahdian.m@husky.neu.edu">mahdian.m@husky.neu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div><div><div>Hi Alex,<br><br></div>I am trying to run the car2car example. After following the instructions on :<a href="http://ndnsim.net/getting-started.html#simulating-using-ndnsim">http://ndnsim.net/getting-started.html#simulating-using-ndnsim</a>, building the scenario, and running it successfully, I get :<br>
 <br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf --run car-relay<br>Waf: Entering directory `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'<br>Waf: Leaving directory `/home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build'<br>
'build' finished successfully (0.017s)<br><br></div>However, when I want it to show the results in a figure I get this error<br><br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./run.py -s figure-4-data-propagation-vs-distance<br>
Traceback (most recent call last):<br>  File "./run.py", line 8, in <module><br>    import workerpool<br>ImportError: No module named workerpool<br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./run.py figure-5-retx-count<br>
Traceback (most recent call last):<br>  File "./run.py", line 8, in <module><br>    import workerpool<br>ImportError: No module named workerpool<br><br></div>And this is the waf configuration:<br>milad@ubuntu:~/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car$ ./waf configure<br>
Setting top to                           : /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car <br>Setting out to                           : /home/milad/repos/ns-3-allinone/ns-3.16/ndnSIM/ns-3/ndnSIM/car/build <br>
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ <br>Checking boost includes                  : 1_49 <br>Checking boost libs                      : ok <br>Checking for boost linkage               : ok <br>Checking for program pkg-config          : /usr/bin/pkg-config <br>
Checking for pkg-config version >= '0.0.0' : yes <br>Checking for ns3-ndnSIM                    : yes <br>Checking for ns3-core                      : yes <br>Checking for ns3-network                   : yes <br>
Checking for ns3-internet                  : yes <br>Checking for ns3-point-to-point            : yes <br>Checking for ns3-topology-read             : yes <br>Checking for ns3-applications              : yes <br>Checking for ns3-mobility                  : yes <br>
Checking for ns3-wifi                      : yes <br>Checking for ns3-visualizer                : yes <br>'configure' finished successfully (0.300s)<br><br></div>can you please help me solve this problem?<br><br><br>
</div>Regards,<br></div>Milad<br></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></div></body></html>