It's best practice to install Python projects into virtual environments. So,
adapting your installation instructions, I did:
sudo apt-get install -y python2.7 python-wxgtk2.8 openjdk-7-jdk gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer-tools sox mplayer python-setuptools
virtualenv --system-site-packages .env
. .env/bin/activate
pip install MplayerCtrl
svn checkout http://voiceid.googlecode.com/svn/trunk voiceid
cd voiceid
python setup.py install
This installs fine, but when I attempt to run the `vid` command, I received the
error:
IOError: File /usr/local/myproject/.env/local/share/voiceid/LIUM_SpkDiarization-4.7.jar doesn't exist or not correctly created
This is because CONFIGURATION.LIUM_JAR is hardcoded to look in /local/share,
but virtualenv creates a `local/` and a `share/`, but no `local/share`. I fixed
this by symlinking `share/` into `local/`, but it might be easier to modify
your code to check both locations.
Original issue reported on code.google.com by chrisspen@gmail.com on 13 Feb 2014 at 7:43
Original issue reported on code.google.com by
chrisspen@gmail.com
on 13 Feb 2014 at 7:43