In installing selenium and pymongo on the clients, I discovered some errors in some of the scripts in /usr/network/scripts/parts that install python packages:
- For python 2.7, site-packages has moved from /usr/lib/python2.6/site-packages to /usr/local/lib/python2.7/site-packages. Note the /local/ in the path. That’s the directory that needs to be opendir’d.
- There’s no more pip-python command, just pip. That’s why selenium wasn’t installed. There’s also a pip-2.7, but ordinary pip seems to install 2.7 packages just fine.
So I fixed the following scripts, which use pip and/or opendir: orange.sh, selenium.sh, stemming.sh, and gensim.sh. Then I broadcast selenium.sh, and stemming.sh. I didn’t broadcast orange.sh or gensim.sh, since I don’t know if we need them, and there are some details I don’t understand. That will have to wait until someone actually need these packages, and can test them.
BTW, the client list that our various broadcast scripts use, /etc/clients-centos, is missing 8 machines due to ssh key issues. See the comments in that file. We should fix that so these machines don’t get out of sync with the others.