ufal / mtmonkey

Distributed infrastructure for Machine Translation web services (using Moses, Python, JSON-RPC/web interface)
Other
33 stars 9 forks source link

install_virtualenv.sh breaks #13

Closed lefterav closed 8 years ago

lefterav commented 9 years ago

Hi, when trying to run this script, I get the following error:

mkdir: cannot create directory /virtualenv': Permission denied ln: failed to create symbolic link./virtualenv': File exists New python executable in /home/elav01/virtualenv/bin/python Installing setuptools............done. Installing pip...............done. install_virtualenv.sh: line 32: virtualenv/bin/activate: No such file or directory

The problem does not occur if I run the script commands one by one from the commandline

tuetschek commented 9 years ago

Hi,

thanks for the reporting. There was an error in the 1st test in the file (it should test if $SHARE and $USER are non-empty, but it broke if actually any of them were empty). Sorry about that.

It should be fixed now in bf9d732 .

Best, Ondrej