Download and install mercurial, in order to install autobuild: failing

Description

I am following the compile steps on your knowlegdge base for OSX and I get to Download and install mercurial, in order to install autobuild: section and when I type in the command — sudo pip install "hg+https://bitbucket.org/alchemyviewer/autobuild-alchemy" I get the following error message.

~ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-St85PT/pydot2/setup.py'"'"'; _file='"'"'/private/tmp/pip-install-St85PT/pydot2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file_);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file_, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-qF6Zgb/install-record.txt --single-version-externally-managed --compile
cwd: /private/tmp/pip-install-St85PT/pydot2/
Complete output (11 lines):
running install
running build
running build_py
creating build
creating build/lib
copying pydot.py -> build/lib
copying dot_parser.py -> build/lib
running install_lib
running install_data
copying LICENSE -> /System/Library/Frameworks/Python.framework/Versions/2.7/.
error: [Errno 1] Operation not permitted: '/System/Library/Frameworks/Python.framework/Versions/2.7/./LICENSE'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-St85PT/pydot2/setup.py'"'"'; _file='"'"'/private/tmp/pip-install-St85PT/pydot2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file_);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file_, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-qF6Zgb/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.~

I'm not sure what I'm doing wrong. Any help would be greatly appreciated. I also put the error on pastebin https://pastebin.com/8ev2hXTm

Environment

OSX

Status

Assignee

Unassigned

Reporter

Dayna Webb

Labels

None

Build Number

build-darwin-i386

External issue ID

None

External issue ID

None

External issue ID

None

Priority

Medium
Configure