V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
lztrey90
V2EX  ›  Python

OS X 下如何安装 Python 3.x ?

  •  
  •   lztrey90 · Mar 19, 2013 · 5369 views
    This topic created in 4800 days ago, the information mentioned may be changed or developed.
    OS X 自带的是 Python 2.7, 一直在 2.7 下学习和开发,最近需要运行一些程序基于 3.x 的环境。求教各位大大,麻烦有在 OS X 下安装过的指条路,我希望这两个版本能和谐共处。
    8 replies    2015-11-04 09:28:28 +08:00
    alexrezit
        1
    alexrezit  
       Mar 19, 2013
    virtualenv?
    wwwjfy
        2
    wwwjfy  
       Mar 19, 2013
    Homebrew

    brew install python3
    lztrey90
        3
    lztrey90  
    OP
       Mar 19, 2013
    @wwwjfy 谢谢!用brew安装的话,不会和系统自带的冲突吧?
    wwwjfy
        4
    wwwjfy  
       Mar 19, 2013
    @lztrey90 不会,只是别link成python,可能有的程序会调用。
    用python3, pip3之类就行.. brew 装完有这些信息
    Livid
        5
    Livid  
    MOD
    PRO
       Mar 19, 2013
    @lztrey90 brew 是装到自己的目录里。
    ybooty
        6
    ybooty  
       Mar 22, 2013
    brew
    SErHo
        7
    SErHo  
       Mar 22, 2013
    推荐一下 pythonbrew。
    xiuc001
        8
    xiuc001  
       Nov 4, 2015
    6666666
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1673 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 16:20 · PVG 00:20 · LAX 09:20 · JFK 12:20
    ♥ Do have faith in what you're doing.