StarCluster - Mailing List Archive

Re: Errors with Boto 2.0b3

From: Justin Riley <no email>
Date: Sun, 05 Dec 2010 20:35:10 -0500

Hey Raj,

Did you run "python install" after changing to the virtualenv?
It's picking up your /usr/local/lib/python2.6 installation rather than
the virtualenv for some reason in the output you provided. Can you check
whether boto 2.0b3 is installed in your virtualenv's site-packages
(~/Envs/StarCluster/lib/python2.6/site-packages)? If you're using

$ workon StarCluster
(starcluster)$ cdsitepackages
(starcluster)$ ls
(look for boto*)

Either way try installing the latest version of boto via pip once you've
changed into the StarCluster virtualenv:

$ workon StarCluster
(starcluster)$ pip install --upgrade boto

You should then be able to do:

(starcluster)$ python -c 'import boto; print boto.Version'

Also just for drill:

(starcluster)$ python develop

Using 'develop' instead of 'install' has the advantage that doing a 'git
pull' will update the code without needing to rerun


On 12/5/10 7:12 PM, Rajat Banerjee wrote:
> Hi List,
> It has been a while since I've used starcluster. I pulled from git
> using "git pull jtriley master" and ran
> Here is the part that pertains to boto:
> Installed /usr/local/lib/python2.6/dist-packages/StarCluster-0.9999-py2.6.egg
> Processing dependencies for StarCluster==0.9999
> Searching for boto==2.0b3
> Best match: boto 2.0b3
> Processing boto-2.0b3-py2.6.egg
> boto 2.0b3 is already the active version in easy-install.pth
> and:
> (StarCluster)rajat_at_ubuntu:~/Envs/StarCluster/StarCluster$ locate 2.0b3
> /usr/local/lib/python2.6/dist-packages/boto-2.0b3-py2.6.egg
> So I guess it is there.
> However, when I try and launch starcluster, it barfs:
> (StarCluster)rajat_at_ubuntu:~/Envs/StarCluster/StarCluster$ starcluster
> listclusters
> Traceback (most recent call last):
> File "/home/rajat/Envs/StarCluster/bin/starcluster", line 4, in<module>
> from pkg_resources import require; require('StarCluster==0.9999')
> File "build/bdist.linux-i686/egg/", line 2607, in<module>
> File "build/bdist.linux-i686/egg/", line 565, in resolve
> pkg_resources.DistributionNotFound: boto==2.0b3
> Any ideas?
> Thank you,
> Rajat
> _______________________________________________
> StarCluster mailing list
Received on Sun Dec 05 2010 - 20:35:27 EST
This archive was generated by hypermail 2.3.0.


Sort all by: