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

Python 有了 asdf 之后还需要虚拟环境 venv 吗?

  •  
  •   manyprospect · 2023-02-05 15:03:05 +08:00 · 2261 次点击
    这是一个创建于 444 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我知道 python 有各种虚拟环境工具 就是这个原因我才喜欢 asdf ,一个工具搞定所有

    请问用了 asdf 后还需要 python 的虚拟环境吗?

    3 条回复    2023-11-23 08:58:45 +08:00
    huntzhan
        1
    huntzhan  
       2023-02-05 19:22:44 +08:00
    我看了一下 [asdf]( https://asdf-vm.com/guide/introduction.html#homebrew) 与 pyenv 都是基于 shims ,所以这应该是一个小众替代方案?
    Latin
        2
    Latin  
       2023-02-06 09:23:01 +08:00
    上了 poetry 之类的包管理工具后 同理还是在虚拟环境内
    liangch
        3
    liangch  
       153 天前
    asdf 可以是 python 版本管理。该要虚拟环境还是要的。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3307 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:09 · PVG 21:09 · LAX 06:09 · JFK 09:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.