Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

virtualenv activate script missing

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?

like image 642
G. Doe Avatar asked May 05 '26 12:05

G. Doe


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

like image 66
kibi11 Avatar answered May 07 '26 01:05

kibi11



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!