Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve "virtualenv: error: the following arguments are required: dest" error?

As the title says, I keep on having that error and I don't know how to solve it.

The error, as the title says is

virtualenv: error: the following arguments are required: dest

The command I entered was

virtualenv

I am running this on a MAC and on python

like image 970
Eat Ing Avatar asked Oct 25 '25 10:10

Eat Ing


1 Answers

When you ask the question, try to also explain what are you trying to do, and not only the error you get :)

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.

Your command should look like this:

virtualenv venv

where venv is the name of the folder that will get created.

See some more information here: https://programwithus.com/learn-to-code/Pip-and-virtualenv-on-Mac/

like image 93
kalsky Avatar answered Oct 26 '25 23:10

kalsky