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

在 Mac 里共存了 2.7(默认)和 3.4(开发),安装第三方模块时怎么指定安装到 3.4 中?

  •  
  •   lee0111 · 2014-12-14 20:01:33 +08:00 · 3798 次点击
    这是一个创建于 3426 天前的主题,其中的信息可能已经有所发展或是发生改变。
    5 条回复    2014-12-14 21:09:35 +08:00
    awanabe
        1
    awanabe  
       2014-12-14 20:15:38 +08:00   ❤️ 1
    virtualenv ==
    messense
        2
    messense  
       2014-12-14 20:26:11 +08:00
    试试 pip3 install xxx
    wuxqing
        3
    wuxqing  
       2014-12-14 20:26:44 +08:00
    virtualenv +1
    AlexaZhou
        4
    AlexaZhou  
       2014-12-14 20:36:37 +08:00
    python3 setup.py install
    lee0111
        5
    lee0111  
    OP
       2014-12-14 21:09:35 +08:00
    谢谢楼上各位,用virtualenv搞定
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   797 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:59 · PVG 05:59 · LAX 14:59 · JFK 17:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.