I’m trying to use virtualenv on my development machine. I successfully created my new environment issuing virtualenv venv in /home/user/. When I try to activate it (from user location) with sudo venv/bin/activate I get venv/bin/activate: command not found.
I’m trying to use virtualenv on my development machine. I successfully created my new
Share
You don’t run
activateas a script; you need tosourceit in your shell, since it affects the shell itself.It probably also doesn’t make any sense to run it under
sudo.