virtualenv activate script missing

Viewed 10106

I have installed python and virtual environment on linux, but every time I try to create a new virtual environment the bin folder is missing many files such as the activate script. I only succeed if I run the follow command:

sudo virtualenv myvenv

If I only run virtualenv myvenv the bin folder is incomplete.

I have also managed to create a virtual enviroment with python -m venv myvenv

Why is this happening I dont want to use python3, just python. Any ideas?

1 Answers

I had the same problem , the Scripts folder was empty.

I was trying python -m virtualenv see

and I was getting an error like :

[Errno 2] No such file or directory: 'C:\\Users\\name\\anaconda3\\Lib\\venv\\scripts\\nt\\python.exe

I changed replaced virtualenv with venv and it worked.

i.e python -m venv see

Related