python3编程环境,使用 python3 环境开发。

安装python3 环境

$ brew install python3

/usr/local/Cellar/python3/3.4.3/bin/python3

==> Pouring python3-3.4.3.yosemite.bottle.10.tar.gz

==> Caveats

Pip and setuptools have been installed. To update them

pip3 install –upgrade pip setuptools

You can install Python packages with

pip3 install

They will install into the site-package directory

/usr/local/lib/python3.4/site-packages

.app bundles were installed.

Run brew linkapps python3 to symlink these to /Applications.

==> /usr/local/Cellar/python3/3.4.3/bin/python3 -s setup.py –no-user-cfg instal

==> /usr/local/Cellar/python3/3.4.3/bin/python3 -s setup.py –no-user-cfg instal

==> Summary

�� /usr/local/Cellar/python3/3.4.3: 4643 files, 81M

基于 python3 建立virtualenv

$ virtualenv -p /usr/local/Cellar/python3/3.4.3/bin/python3 py3env

扩展阅读:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值