The same problem as here; still something else is missing.
Install:
$ sudo pacman -S python-virtualenvwrapper
...
$ which virtualenvwrapper.sh
/usr/bin/virtualenvwrapper.sh
~/.profile:
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
Sourcing it:
$ source .profile
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/premkproject
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/postmkproject
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/initialize
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/premkvirtualenv
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/postmkvirtualenv
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/prermvirtualenv
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/postrmvirtualenv
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/predeactivate
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/postdeactivate
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/preactivate
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/postactivate
virtualenvwrapper.user_scripts creating /home/alexey/.virtualenvs/get_env_details
[alexey@stovepipebox ~]$ workon
[alexey@stovepipebox ~]$
Everything looks fine; unfortunately, any other session won't see the wrapper commands. After relogin they are still invisible. What am I doing wrong?
UPD:
pacman
modified my .bashrc
; I just had to uncomment source /usr/bin/virtualenvwrapper.sh
statement in .bashrc
, then
$ source .bashrc
It's Arch specific.