[ndnSIM] Problem in installing ndnSIM 2.1 / 2.2

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Wed Sep 20 11:26:07 PDT 2017


Hi,

are you sure you download the appropriate NFD and ndn-cxx versions associated with the simulator too?

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Sep 20, 2017, at 11:18 AM, Carl Zu <carlzu8 at gmail.com> wrote:
> 
> Hi everyone,
> 
> I need to install ndnSIM 2.1.I downloaded ndnSIM 2.1 from here:
> 
> https://github.com/named-data-ndnSIM/ndnSIM/releases/tag/ndnSIM-2.1 <https://github.com/named-data-ndnSIM/ndnSIM/releases/tag/ndnSIM-2.1>
> 
> As for "ns-3" and "pybindgen", first, I did the following:  
> 
> git clone https://github.com/named-data-ndnSIM/ns-3-dev.git <https://github.com/named-data-ndnSIM/ns-3-dev.git> ns-3
> git clone https://github.com/named-data-ndnSIM/pybindgen.git <https://github.com/named-data-ndnSIM/pybindgen.git> pybindgen
> 
> After, I tried also downloading older versions of "pybindgen" as well as "ns-3". But in any case, when I write "./waf configure --enable-examples", I have the following error:
> 
> Traceback (most recent call last):
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 108, in waf_entry_point
>     run_commands()
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 165, in run_commands
>     parse_options()
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Scripting.py", line 138, in parse_options
>     Context.create_context('options').execute()
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Options.py", line 146, in execute
>     super(OptionsContext,self).execute()
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 92, in execute
>     self.recurse([os.path.dirname(g_module.root_path)])
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse
>     user_function(self)
>   File "/home/carl/ndnSIM-2.1/ns-3/wscript", line 213, in options
>     opt.recurse('src')
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse
>     user_function(self)
>   File "/home/carl/ndnSIM-2.1/ns-3/src/wscript", line 48, in options
>     opt.recurse(module, mandatory=False)
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 133, in recurse
>     user_function(self)
>   File "/home/carl/ndnSIM-2.1/ns-3/src/ndnSIM/wscript", line 16, in options
>     opt.load(['version'], tooldir=['%s/.waf-tools' % opt.path.abspath()])
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 86, in load
>     module=load_tool(t,path)
>   File "/home/carl/ndnSIM-2.1/ns-3/.waf-1.8.12-f00e5b53f6bbeab1384a38c9cc5d51f7/waflib/Context.py", line 342, in load_tool
>     __import__(tool)
> ImportError: No module named version
> 
> I have the same problem for installing ndnSIM 2.2 as well. That is, I can only install the latest version. Does anybody have a successful experience on installing 2.1 or 2.2 ? I highly appreciate any guidance.
> 
> Thanks,
> C

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


More information about the ndnSIM mailing list