New python executable in /Users/wenchuang/Library/PonyDebugger/bin/python
Installing setuptools................done.
Installing pip..............done.
Obtaining ponydebugger from git+https://github.com/square/PonyDebugger.git#egg=ponydebugger
Updating ./Library/PonyDebugger/src/ponydebugger clone
Running setup.py (path:/Users/wenchuang/Library/PonyDebugger/src/ponydebugger/setup.py) egg_info for package ponydebugger
Installing extra requirements: 'egg'
Downloading/unpacking tornado (from ponydebugger)
Downloading tornado-3.2.tar.gz (400kB): 400kB downloaded
Running setup.py (path:/Users/wenchuang/Library/PonyDebugger/build/tornado/setup.py) egg_info for package tornado
Downloading/unpacking pybonjour (from ponydebugger)
Could not find any downloads that satisfy the requirement pybonjour (from ponydebugger)
Some externally hosted files were ignored (use --allow-external pybonjour to allow).
Cleaning up...
No distributions at all found for pybonjour (from ponydebugger)
Storing debug log for failure in /Users/wenchuang/.pip/pip.log
Traceback (most recent call last):
File "<stdin>", line 2462, in <module>
File "<stdin>", line 946, in main
File "<stdin>", line 1794, in after_install
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/wenchuang/Library/PonyDebugger/bin/pip', 'install', '-U', '-e', 'git+https://github.com/square/PonyDebugger.git#egg=ponydebugger']' returned non-zero exit status 1
解决办法:
在shell里面执行下面命令
# activate your virtualenv
source ~/Library/PonyDebugger/bin/activate
# update the ponyd source
pip install -U -e git+https://github.com/square/PonyDebugger.git#egg=ponydebugger --allow-external pybonjour --allow-unverified pybonjour
# updates chrome dev tools source
ponyd update-devtools