Created
October 30, 2014 04:21
-
-
Save menghan/6134c19c4b2f49ff4b09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
menghan@air:~$ brew doctor | |
Your system is ready to brew. | |
menghan@air:~$ brew uninstall python | |
Uninstalling /usr/local/Cellar/python/2.7.8_2... | |
menghan@air:~$ brew uninstall mercurial | |
Uninstalling /usr/local/Cellar/mercurial/3.1.2... | |
menghan@air:~$ proxy | |
HTTP/1.1 301 Moved Permanently | |
Date: Thu, 30 Oct 2014 04:20:41 GMT | |
Server: gwiseguy/2.0 | |
Location: http://www.youtube.com/ | |
Content-Length: 0 | |
Content-Type: text/html | |
X-XSS-Protection: 1; mode=block | |
Alternate-Protocol: 80:quic,p=0.01 | |
Connection: keep-alive | |
Keep-Alive: timeout=15 | |
menghan@air:~$ brew install python mercurial | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/python-2.7.8_2.yosemite.bottle.3.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/python-2.7.8_2.yosemite.bottle.3.tar.gz | |
==> Pouring python-2.7.8_2.yosemite.bottle.3.tar.gz | |
==> Caveats | |
Setuptools and Pip have been installed. To update them | |
pip install --upgrade setuptools | |
pip install --upgrade pip | |
You can install Python packages with | |
pip install <package> | |
They will install into the site-package directory | |
/usr/local/lib/python2.7/site-packages | |
See: https://github.com/Homebrew/homebrew/wiki/Homebrew-and-Python | |
.app bundles were installed. | |
Run `brew linkapps` to symlink these to /Applications. | |
==> /usr/local/Cellar/python/2.7.8_2/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/ | |
==> /usr/local/Cellar/python/2.7.8_2/bin/python -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/python/ | |
==> Summary | |
🍺 /usr/local/Cellar/python/2.7.8_2: 4776 files, 76M | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mercurial-3.1.2.yosemite.bottle.1.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/mercurial-3.1.2.yosemite.bottle.1.tar.gz | |
==> Pouring mercurial-3.1.2.yosemite.bottle.1.tar.gz | |
==> Caveats | |
Bash completion has been installed to: | |
/usr/local/etc/bash_completion.d | |
zsh completion has been installed to: | |
/usr/local/share/zsh/site-functions | |
==> Summary | |
🍺 /usr/local/Cellar/mercurial/3.1.2: 364 files, 4.6M | |
menghan@air:~$ /usr/local/bin/hg | |
Traceback (most recent call last): | |
File "/usr/local/bin/hg", line 41, in <module> | |
mercurial.util.setbinary(fp) | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 106, in __getattribute__ | |
self._load() | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 78, in _load | |
mod = _hgextimport(_import, head, globals, locals, None, level) | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 47, in _hgextimport | |
return importfunc(name, globals, *args) | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/util.py", line 67, in <module> | |
statfiles = getattr(osutil, 'statfiles', platform.statfiles) | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 106, in __getattribute__ | |
self._load() | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 78, in _load | |
mod = _hgextimport(_import, head, globals, locals, None, level) | |
File "/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/demandimport.py", line 47, in _hgextimport | |
return importfunc(name, globals, *args) | |
ImportError: dlopen(/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/osutil.so, 2): no suitable image found. Did find: | |
/usr/local/Cellar/mercurial/3.1.2/lib/python2.7/site-packages/mercurial/osutil.so: mach-o, but wrong architecture | |
menghan@air:~$ /usr/local/bin/python | |
Python 2.7.8 (default, Oct 19 2014, 16:02:00) | |
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment