User Tools

Site Tools


oonirasponaberrypi-virtualenv

NB: You may need to logout to allow virtualenv package to create required files shown below.

Install virtualenv tools

  * sudo apt-get install python-virtualenv virtualenvwrapper
  * mkdir $HOME/.virtualenvs (you then need to log-out or reload your shell to get access to next command)
  * mkvirtualenv ooni-probe

mkvirtualenv ooni-probe
New python executable in ooni-probe/bin/python
Installing distribute..................................................................
.......................................................................................
....................................done.
Installing pip...............done.
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/ooni-probe/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/ooni-probe/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/ooni-probe/bin/preactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/ooni-probe/bin/postactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/ooni-probe/bin/get_env_details
  • Add line to .bashrc
  • Add line to $HOME/.virtualenvs/ooni-probe/bin/postactivate

To work on ooni-probe later on, run:

pi@raspberrypi ~ $ workon ooni-probe

Additional information

Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/initialize
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/premkvirtualenv
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/postmkvirtualenv
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/prermvirtualenv
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/postrmvirtualenv
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/predeactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/postdeactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/preactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/postactivate
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/get_env_details
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/premkproject
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/postmkproject
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/prermproject
virtualenvwrapper.user_scripts creating /home/pi/.virtualenvs/postrmproject
oonirasponaberrypi-virtualenv.txt · Last modified: 2013/11/01 13:33 (external edit)