Answer the question
In order to leave comments, you need to log in
Why is virtualenv activated under root, but under user it gives an error -sh: 3: source: not found?
I'm trying to activate the virtual environment under the user and gives an error, although everything is activated under root.
Answer the question
In order to leave comments, you need to log in
It seems that bash or something compatible is used as a shell under root, and something else is used under the user under which the error pops up. To test your guess, do echo $SHELL
as root and normal user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question