V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
Huadb
V2EX  ›  Python

Mac Python 怎么升级到 3.4

  •  
  •   Huadb · 2015-08-09 12:39:23 +08:00 · 2717 次点击
    这是一个创建于 3184 天前的主题,其中的信息可能已经有所发展或是发生改变。
    从官网下载了一个 3.4 的安装包,可是安装后,在终端里查看还是2.7 求解。
    8 条回复    2015-08-14 11:23:06 +08:00
    wlsnx
        1
    wlsnx  
       2015-08-09 14:00:49 +08:00   ❤️ 1
    试试运行“python3”
    rrrkren
        2
    rrrkren  
       2015-08-09 14:42:25 +08:00   ❤️ 1
    python3 应该可以, 话说建议用homebrew安装python3
    h4lt
        3
    h4lt  
       2015-08-09 14:57:50 +08:00   ❤️ 1
    raingolee
        4
    raingolee  
       2015-08-09 16:05:05 +08:00   ❤️ 1
    @h4lt 同意楼上virtualenv
    Feiox
        5
    Feiox  
       2015-08-09 18:38:52 +08:00   ❤️ 1
    如果仅用于开发的话,推荐使用 pyenv
    如果用于系统脚本,用 brew install python3 就好
    另外,python3 自带的 virtualenv 大家可用过?
    Huadb
        6
    Huadb  
    OP
       2015-08-09 23:53:28 +08:00
    感谢楼上各位,因为我是初学者,还在摸索中,感谢!
    broven
        7
    broven  
       2015-08-12 21:40:51 +08:00   ❤️ 1
    直接输入python3
    flyicarus
        8
    flyicarus  
       2015-08-14 11:23:06 +08:00   ❤️ 1
    用homebrew
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2937 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:47 · PVG 16:47 · LAX 01:47 · JFK 04:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.