python - 使用 virtualenv / virtualenvwrapper 在特定目录中创建 virtualenv
问题描述
有没有一种方法可以使用 virtualenv / virtualenvwrapper 在特定目录(即当前目录)中创建 virtualenv 文件夹,而不是使用默认的(即WORKON_HOME
)。
相当于:
$ python -m venv env # this creates the folder `env` in the current path
解决方案
用于virtualenv /pathto/env
此。
推荐阅读
- java - 线程“主”java.lang.AbstractMethodError SpringBoot 中的异常
- python - AWS SageMaker 训练脚本:如何传递自定义用户参数
- c - 双递归函数后使用顺序索引扫描数组
- gem5 - 如何在 se 模式下使用 gem5 中的 m5ops,例如 m5_exit 和 m5_dump_stats
- workflow - YOUTrack 工作流程因一个项目而失败
- java - 无法通过 Spring Boot 调用 https REST 端点
- json - 无法在 PySpark 中查询 JSON 制作的数据框列
- .htaccess - 需要正确的 htaccess 重定向语法
- python - 我可以使用 Numba 让这段 python 代码运行得更快吗?
- html - 而不是图标,它显示空白方块