On 29 Jul 2010, at 14:39, Nate Coraor wrote:
simon andrews (BI) wrote:
I've just tried an initial installation of Galaxy (galaxy_dist) on a Fedora 13 machine. When I try to run the setup.sh script I get the error below:
pkg_resources.DistributionNotFound: simplejson==1.5
Fedora 13 comes with simplejson v2.1.1. Is there really a strict requirement on v1.5 or should the test be >=1.5? Is there a way to parallel install different versions of this package if 1.5 is strictly required?
Hi Simon,
Galaxy does use old versions of some modules - due to the large number of dependencies, we don't always have the time to test new releases, and new versions can break Galaxy.
However, we pre-build most of our dependencies and Galaxy automatically downloads them. You may want to try the following:
python scripts/fetch_eggs.py
After more investigation it turns out the reasons for the failures wasn't the incompatible versions (as you said the fetch_eggs.py script should have pulled down the correct version). The reason this failed on our system was that python wasn't reading our proxy information correctly from the environment. I'd set the http_proxy variable, but python requires that the value includes the protocol information as well as the server and port. Since it couldn't access the download site it was falling back on the system installed version and was therefore throwing the version errors I saw. After fixing the proxy information galaxy downloaded the correct versions of the various eggs and all is well. Cheers Simon.