为什么 Python 的包管理这么难用,比 node 的 npm 难用一万倍,每次进入项目都要手动执行一下 conda activate xxx,难道就没有默认的 Python 项目级别的依赖吗?

查看 516|回复 68
hicdn   
推荐 mise https://github.com/jdx/mise ,太香了。
ruanimal   
@JShen vfox
dust2   
uv 工具啊
yh7gdiaYW   
你用的啥 ide 还需要考虑这个问题? vscode 自动会给项目绑定好虚拟环境啊
rocmax   
你一定没用过 mise 的 auto activation
https://mise.jdx.dev/lang/python.html#automatic-virtualenv-activation
Sped0n   
可以看看 direnv ,进特定 directory 自动激活
https://github.com/direnv/direnv
Hudiebbk   
uv 无敌好用的
thiiadoewjwe   
C++的第三方库,能把人折磨死
jonty   
目前还在手搓 cmake 的说话了吗

amon   
有请楼下上一张 node_modules 的那张梗图
您需要登录后才可以回帖 登录 | 立即注册

返回顶部