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
wjjjj7
V2EX  ›  Python

现在使用的是 mac 自带的 python2.7,想再安装 python3.4,然后用 vitualenv 创建虚拟环境。是不是应该先用 xcode 实现同时安装两个版本,再用 vitualenv 创建虚拟环境?小白不太懂,求解答。

  •  
  •   wjjjj7 · Jan 23, 2018 · 2454 views
    This topic created in 3026 days ago, the information mentioned may be changed or developed.
    luren123
        1
    luren123  
       Jan 23, 2018   ❤️ 1
    建议用虚拟环境,不同项目还可以设置不同的环境,简单方便;
    之前总结过一篇博客,可以看看 http://tanchao90.com/python-env/
    最近 Python 官方貌似除了 pipenv,还没仔细研究
    XiaolinLeo
        2
    XiaolinLeo  
       Jan 23, 2018 via iPhone   ❤️ 1
    直接安装就好,不会互相影响,安装好后终端 python3
    JackYao
        3
    JackYao  
       Jan 23, 2018
    反正我是用 homebrew 安装的 Python3 , 写项目的时候一般都用 virtualenv 创建一个虚拟环境去搞项目.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 04:30 · PVG 12:30 · LAX 21:30 · JFK 00:30
    ♥ Do have faith in what you're doing.