Getting started with the OpenHatch code (moved): Difference between revisions

imported>Paulhomebus
Line 38:
 
 
== Problems installingwith using the READMEbuildout? ==
 
If you have an error like: ImportError: No module named enthought
 
Then you probably need to wrap your environment with virtualenv. This will insulate it against libraries you have installed on your system.
 
Instructions for setting up a virtualenv wrapper:
 
<code>
sudo apt-get install virtualenvwrapper python-setuptools
</code>
 
sudo easy_install virtualenv
 
sudo easy_install pip
 
pip install virtualenvwrapper </code>
 
 
Be sure to configure your shell so that pip knows where to find your virtual environments:
Line 60 ⟶ 54:
<code>
# in .bashrc or .bash_profile
source /usretc/local/sbinbash_completion.d/virtualenvwrapper.sh
 
export WORKON_HOME=$HOME/.virtualenvs
 
export PIP_VIRTUALENV_BASE=$WORKON_HOME
 
export PIP_RESPECT_VIRTUALENV=true
 
source /usr/local/sbin/virtualenvwrapper.sh
</code>
 
Line 77 ⟶ 64:
mkvirtualenv --no-site-packages openhatch
 
workon lernantaopenhatch
 
./bin/buildout</code>
</code>
 
== Run the tests ==
Anonymous user