首页 > 其他 > 详细

bhp 阅读笔记 一

时间:2015-11-17 23:07:54      阅读:284      评论:0      收藏:0      [点我收藏+]

安装 python-setuptools python-pip

尝试 brew install python-setuptools 失败

brew update 失败

 

 

$ cd  `brew --prefix`
$ git remote add origin https://github.com/Homebrew/homebrew.git
$ git fetch origin
$ git reset --hard origin/master
$ brew update

update success!

 

 安装 setuptools

wget https://bootstrap.pypa.io/ez_setup.py

sudo python ez_setup.py

sudo easy_install pip

 

sudo pip install github3.py 

 

hangjdeMacBook-Pro:~ hangj$ python

Python 2.7.10 (default, Jul 14 2015, 19:46:27) 

[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> import github3

>>> exit()

成功 !!

 

bhp 阅读笔记 一

原文:http://www.cnblogs.com/hangj/p/4973000.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!