0
我想在我的Mac OS 10.10.3安装NS3,当我输入./download.py
我得到了以下信息:如何解决权限NS3汞
Updating ns-3 branch
=> hg --cwd ns-3-dev pull -u
not trusting file /Users/username/Documents/ns-3-allinone/ns-3-dev/.hg/hgrc from untrusted user username, group staff
not trusting file /Users/username/Documents/ns-3-allinone/ns-3-dev/.hg/hgrc from untrusted user username, group staff
abort: repository default not found!
Traceback (most recent call last):
File "./download.py", line 242, in <module>
sys.exit(main())
File "./download.py", line 198, in main
ns3_dir = get_ns3(options.ns3_branch)
File "./download.py", line 29, in get_ns3
run_command(['hg', '--cwd', ns3_dir, 'pull', '-u'])
File "/Users/username/Documents/ns-3-allinone/util.py", line 25, in run_command
raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['hg', '--cwd', 'ns-3-dev', 'pull', '-u'] exited with code 255
我不知道如何激活权限ns3 hg。