问题描述
正如标题所说,我一直遇到那个错误,但我不知道如何解决.
As the title says, I keep on having that error and I don't know how to solve it.
错误,正如标题所说
virtualenv: error: the following arguments are required: dest
我输入的命令是
virtualenv
我在 MAC 和 python 上运行这个
I am running this on a MAC and on python
推荐答案
当你问这个问题时,试着解释你想做什么,而不仅仅是你得到的错误:)
When you ask the question, try to also explain what are you trying to do, and not only the error you get :)
如果我猜对了,您正在尝试创建一个新的虚拟环境.执行 virtualenv 命令时需要为其指定名称(dest),以便在该文件夹下创建虚拟环境.
If I'm guessing correctly, you're trying to create a new virtual environment.When executing the virtualenv command you need to specify a name (dest) for it, so that it will create the virtual environment under that folder.
您的命令应如下所示:
virtualenv venv
其中 venv 是将要创建的文件夹的名称.
where venv is the name of the folder that will get created.
在此处查看更多信息:https://programwithus.com/learn-to-code/Pip-and-virtualenv-on-Mac/
这篇关于如何解决“virtualenv:错误:需要以下参数:dest"错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!