<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Justin></div><div><br></div><div>Seems like a recent change in the python-crypto version is problematic. When running a starcluster setup script on a new EC2 instance today, I cam across this halt: </div><div><br></div><div>--------------------</div><div><div>Traceback (most recent call last):</div><div> File "/usr/local/bin/starcluster", line 4, in <module></div><div> import pkg_resources</div><div> File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2659, in <module></div><div> parse_requirements(__requires__), Environment()</div><div> File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in resolve</div><div> raise DistributionNotFound(req)</div><div>pkg_resources.DistributionNotFound: pycrypto>=2.1</div></div><div>----------------------</div><div><br></div><div>In going through the setup procedure from scratch several times I finally noticed that near the beginning of the instantiation with AMI-0af31963, python-crypto is now automatically selected for installation:</div><div><br></div><div>-----------------------------------</div><div><div>The following extra packages will be installed:</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>python-crypto</div><div>Suggested packages:</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>python-crypto-dbg</div><div>The following NEW packages will be installed:</div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>python-crypto python-paramiko</div><div>0 upgraded, 2 newly installed, 0 to remove and 205 not upgraded.</div><div>Need to get 1,006kB of archives.</div><div>After this operation, 8,614kB of additional disk space will be used.</div><div>Get:1 <a href="http://us-east-1.ec2.archive.ubuntu.com/ubuntu/">http://us-east-1.ec2.archive.ubuntu.com/ubuntu/</a> lucid/main python-crypto 2.0.1+dfsg1-4ubuntu2 [187kB]</div><div>Get:2 <a href="http://us-east-1.ec2.archive.ubuntu.com/ubuntu/">http://us-east-1.ec2.archive.ubuntu.com/ubuntu/</a> lucid/main python-paramiko 1.7.6-2 [819kB]</div><div>... </div><div>Fetched 1,006kB in 0s (6,566kB/s)</div><div>Selecting previously deselected package python-crypto.</div><div>(Reading database ... 83844 files and directories currently installed.)</div><div>Unpacking python-crypto (from .../python-crypto_2.0.1+dfsg1-4ubuntu2_amd64.deb) ...</div><div>Setting up python-crypto (2.0.1+dfsg1-4ubuntu2) ...</div></div><div>...</div><div>... <no errors reported; paramiko is installed next></div><div>------------------------------------</div><div><br></div><div>After this initial setup, 'dpkg -s python-crypto' reports that v2.0.1+dfsg1-4ubuntu2 is installed. </div><div><br></div><div>What is a little confusing is that later in my setup script I still had this command 'apt-get install python-crypto,' which first reports that it is looking for v2.1, but then reports that v2.4 is the best match available, and then reports that the install of v2.4 has failed. And maybe because this version 'python-crypto_2.0.1+dfsg1-4ubuntu2' is newer and already installed. </div><div><br></div><div>*** QUESTION ****</div><div>Bottom line, It seems to be more of an OS/setup issue than a problem directly related to SC, but if you have any suggestions for how to get python-crypto installed so it can play nice with SC, I'd appreciate it. I can't even locate an old v2.1 source file. </div><div><br></div><div>Thanks,</div><div><br></div><div><Adam </div><div><span class="Apple-style-span" style="font-family: 'Lucida Sans'; font-size: 14px; "><br></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Sans'; font-size: 14px; ">---------------------------------------------------</span></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; "><div style="font-family: 'Lucida Sans'; ">Adam G. Marsh, Ph.D.</div><div style="font-family: 'Lucida Sans'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans'; ">Associate Professor</span></div><div style="font-family: 'Lucida Sans'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans'; ">Marine Biological Sciences</span></div><div style="font-family: 'Lucida Sans'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans'; ">University of Delaware</span></div><div style="font-family: 'Lucida Sans'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans'; ">302.645.4367</span></div><div style="font-family: 'Lucida Sans'; "><span class="Apple-style-span" style="font-family: 'Lucida Sans'; ">------------------------------------------------</span></div><div style="font-family: 'Lucida Sans'; "><br class="khtml-block-placeholder"></div><div style="font-family: 'Lucida Sans'; "><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline">
</div>
<br></body></html>