I have created a python3 virtual environment "test" inside "~/.virtualenvs" using virualenv. But, I got the following error when I tried to activate.
bash: /home/ubuntu/.virtualenvs/test/bin/activate: line 4: syntax error near unexpected token `('
bash: /home/ubuntu/.virtualenvs/test/bin/activate: line 4: `deactivate () {'
I tried to use virtualenv on ubuntu container and cloud9 ide also but got the same error.