Anonymous user
Getting started with the OpenHatch code (moved): Difference between revisions
Getting started with the OpenHatch code (moved) (view source)
Revision as of 20:21, 8 June 2011
, 12 years ago→Follow the README
imported>Paulhomebus |
imported>Paulhomebus |
||
Line 36:
It contains instructions you need to follow. Go ahead and do that. I can wait.
If you have an error like: ImportError: No module named enthought
Then you probably need to wrap your environment with virtualenv.
Instructions for setting up a virtualenv wrapper:
<code>
sudo apt-get install virtualenvwrapper
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:
<code>
# in .bashrc or .bash_profile
export WORKON_HOME=$HOME/.virtualenvs
export PIP_VIRTUALENV_BASE=$WORKON_HOME
export PIP_RESPECT_VIRTUALENV=true
source /usr/local/sbin/virtualenvwrapper.sh
</code>
Once installed, create your virtual environment for OpenHatch and install the dependencies
<code>
cd oh-mainline
mkvirtualenv --no-site-packages openhatch
workon lernanta
./bin/buildout</code>
== Run the tests ==
|