Not activated when I try to start my virtual env

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

When I'm cdin venv/bin, I find 3 things - python, python 2.7 and python 3.5. Does anyone know a problem?

+11
source share
4 answers

I had the same problem. and I just ran the command    virtualenv env again. Then more files were created in the env / bin directory, including the activation file. this is so strange. maybe you can try.

+12
source

, venv2, virtualenv. venv . .

0

I double this due to some network issues, I run it twice to install the โ€œactivationโ€ script. Perhaps at first he cannot connect to any source, so he just aborts the installation.

0
source

I ran into this problem when using the option --upgrade. Removed the option, and everything started as expected.

0
source

Source: https://habr.com/ru/post/1666967/


All Articles