首页 > 解决方案 > 使用 virtualenv / virtualenvwrapper 在特定目录中创建 virtualenv

问题描述

有没有一种方法可以使用 virtualenv / virtualenvwrapper 在特定目录(即当前目录)中创建 virtualenv 文件夹,而不是使用默认的(即WORKON_HOME)。

相当于:

$ python -m venv env # this creates the folder `env` in the current path

标签: pythonvirtualenvvirtualenvwrapper

解决方案


用于virtualenv /pathto/env此。


推荐阅读