python - Virtualenv : packages lost after restart -



python - Virtualenv : packages lost after restart -

this question has reply here:

python virtualenv - no module named virtualenvwrapper.hook_loader 5 answers

i installed packages using pip on virtualenv , got running @ 1 time :

$ sudo apt-get install python-virtualenv $ sudo pip install virtualenvwrapper $ export workon_home=~/projects $ source /usr/local/bin/virtualenvwrapper.s $ mkvirtualenv pa

after installed packages, ran perfectly, sat in morning work on these, none of packages there . there wrong doing ?

update :

this error getting if seek create env :

importerror: no module named virtualenvwrapper.hook_loader

i think should write export @ .bashrc file, can active when run terminal. in ~/projects file there file holds envs in case export has point file.

this .bashrc setting

export workon_home=$home/dev/envs # directory envs

source /usr/local/bin/virtualenvwrapper.sh

export pip_virtualenv_base=$workon_home # tell pip create virtualenvs in $workon_home.

export pip_respect_virtualenv=true # tell pip automatically utilize active virtualenv.

export virtualenv_distribute=true # utilize distribute

also see if might help http://stackoverflow.com/a/11512580/2007842

python django virtualenv

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -