#733: bloodhound_setup.py fails - "ImportError: No module named trac.util" -------------------------+-------------------- Reporter: AlecTaylor | Owner: nobody Type: defect | Status: new Priority: blocker | Milestone: Component: installer | Version: Resolution: | Keywords: -------------------------+--------------------
Comment (by AlecTaylor): I have been writing an install script as I go: {{{ # Apache Bloodhound echo "Installing Apache Bloodhound" sudo apt-get install postgresql python-psycopg2 echo "Creating user for Apache Bloodhound db" sudo -u postgres createuser --no-superuser --no-createdb --no-createrole --encrypted -w bloodhound # YAY: plain-text password sudo -u postgres psql -U postgres -d postgres -c "alter user bloodhound with password 'bloodhound';" sudo -u postgres createdb --owner=bloodhound --encoding=UTF-8 bloodhound echo "Setting Apache Bloodhound db permissions" sudo sed -i -e 's/local all all peer/local all all md5/g' /etc/postgresql/9.1/main/pg_hba.conf echo "Restarting Postgres" sudo /etc/init.d/postgresql restart git clone "http://git.apache.org/bloodhound.git" cd bloodhound/installer virtualenv --system-site-packages bloodhound_env source ./bloodhound_env/bin/activate pip install -r requirements.txt python bloodhound_setup.py }}} -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/733#comment:2> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker