【发布时间】:2016-01-06 17:48:06
【问题描述】:
我正在尝试在我的 Mac os 10.10.3 中安装 ns3,当我输入 ./download.py 时,我收到以下消息:
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的权限。
【问题讨论】:
标签: mercurial user-permissions ns-3