-1

I have tried many solutions on SO and other sites but I am still unable to use the command virtualenv.

What is the appropriate way to install the same on mac?

phd
  • 69,888
  • 11
  • 97
  • 133
aviral sanjay
  • 853
  • 1
  • 13
  • 29

1 Answers1

3

First simple DO

$ pip install virtualenv

If you have a project in a directory called my-project you can set up virtualenv for that project by running:

$ cd my-project/
$ virtualenv venv

Now Active the environment

$ source venv/bin/activate
Antu
  • 1,951
  • 3
  • 23
  • 37