我可以嵌套 virtualenvs 吗? [英] can I nest virtualenvs?

查看:27
本文介绍了我可以嵌套 virtualenvs 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以嵌套 2 个虚拟环境?

is it possible to nest 2 virtualenvs?

我想要一个基础 virtualenv,然后是一个更具体的 virtualenv,它可以访问基础 virtualenv 中的所有包,然后拥有自己的包.

I would like to have a base virtualenv and then a more specific virtualenv that accesses all the packages from the base virtualenv and then has its own.

感谢任何提示,谢谢.

推荐答案

不,这目前是不可能的.不过有一个功能请求和一个补丁:

No, this isn't currently possible. There is a feature request and a patch for the functionality out there though:

https://github.com/pypa/virtualenv/issues/33

这篇关于我可以嵌套 virtualenvs 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆