Tcl wasn't installed properly

bhargavigoswami at bhargavigoswami at
Fri Dec 7 07:51:30 CET 2012

I faced the same problem during my last installation of ns2.35 in ubuntu 11.04.
After I install ns2.35, got message of successful installation of ns. Then I set path in /.bashrc. Then I gave ns command which gave me same error which you got. 

The problem is because, ns executable is also at /usr which is conflicting.

1. Go to location root-usr-local-bin by giving following command in terminal
cd /usr/local/bin
2. There you would find the ns file. We just need to remove it by giving following command
rm ns
3. Thats it, you are done. Now your ns starts running successfully.

Happy Learning.....

More information about the Python-list mailing list