There is no activate when I am trying to run my virtual env

Aaron Cheung picture Aaron Cheung · Jan 17, 2017 · Viewed 24.3k times · Source

1) I installed virtualenv using pip.
2) I ran the command virtualenv venv
3) Then I ran source venv/bin/activate but it says that there is no such file or directory.

When I cd into venv/bin I find 3 things - python, python 2.7, and python 3.5. Does anyone know the problem?

Answer

jiaqi jiang picture jiaqi jiang · Jan 22, 2017

i have had the same problem. and what i did is just run the command virtualenv env again. And then more files were generated under directory env/bin, including the activate file. it's so weird. maybe you can have more try.