<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello,</div><div>Thanks for your help. I have changed base.py file according what you said and I did not receive error when I config, however, when I run the program with the vis command (./waf --run=ndn-simple --vis) I receive the error as below:</div><div><br></div><div>No visualization support (cannot import name core).<br>Traceback (most recent call last):<br>  File "<string>", line 2, in <module><br>  File "/home/zeinab/ndnSIM/ns-3/src/visualizer/visualizer/core.py", line 1875, in start<br>    import sys<br>RuntimeError: maximum recursion depth exceeded while calling a Python object</div><div><br></div><div>may I know that you have not faced the same problem? </div><div>thanks</div><div>best Zeinab<br><br></div></div></div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Tue, Apr 30, 2019 at 4:16 PM hamidreza afzal <<a href="mailto:hamidreza.afzal@gmail.com">hamidreza.afzal@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr">Hello Zeinab<div>you must edit basy.py in this path:</div><div>/ndnsim/ns-3/src/visualizer/visualizer/</div><div>open this file with gedit</div><div>in line 134 and 139 edit this phrase  file=stderr to file(stderr)</div><div>then execute ./waf </div></div><br><div class="gmail_quote"><div class="gmail_attr" dir="ltr">On Tue, Apr 30, 2019 at 5:48 PM Zeinab via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Hello,<br>
I am trying to install ndnsim 2.7 on ubuntu 18.04 . I followed the ndnsim website however I received syntax error after running ./waf command as follows:<br>
<br>
Traceback (most recent call last):<br>
  File "<string>", line 3, in <module><br>
  File "/usr/lib/python2.7/py_compile.py", line 117, in compile<br>
    raise py_exc<br>
py_compile.PyCompileError:   File "/usr/local/lib/python2.7/dist-packages/visualizer/base.py", line 134<br>
    print("Could not load plugin %r: %s" % (filename, str(ex)), file=sys.stderr)<br>
                                                                    ^<br>
SyntaxError: invalid syntax<br>
<br>
May I know how I can solve it.<br>
Thanks<br>
Best regards<br>
Zeinab<br>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank" rel="noreferrer">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>
</blockquote></div>