<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Justin&gt;</div><div><br></div><div>Seems like a recent change in the python-crypto version is problematic.&nbsp;When running a starcluster setup script on a new EC2 instance today, I cam across this halt:&nbsp;</div><div><br></div><div>--------------------</div><div><div>Traceback (most recent call last):</div><div>&nbsp;&nbsp;File "/usr/local/bin/starcluster", line 4, in &lt;module&gt;</div><div>&nbsp;&nbsp; &nbsp;import pkg_resources</div><div>&nbsp;&nbsp;File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2659, in &lt;module&gt;</div><div>&nbsp;&nbsp; &nbsp;parse_requirements(__requires__), Environment()</div><div>&nbsp;&nbsp;File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in resolve</div><div>&nbsp;&nbsp; &nbsp;raise DistributionNotFound(req)</div><div>pkg_resources.DistributionNotFound: pycrypto&gt;=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>&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>python-crypto</div><div>Suggested packages:</div><div>&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space:pre">        </span>python-crypto-dbg</div><div>The following NEW packages will be installed:</div><div>&nbsp;&nbsp;<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>...&nbsp;</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>... &lt;no errors reported; paramiko is installed next&gt;</div><div>------------------------------------</div><div><br></div><div>After this initial setup, 'dpkg -s python-crypto' reports that v2.0.1+dfsg1-4ubuntu2 is installed.&nbsp;</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. &nbsp;And maybe because this version 'python-crypto_2.0.1+dfsg1-4ubuntu2' is newer and already installed.&nbsp;</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.&nbsp;</div><div><br></div><div>Thanks,</div><div><br></div><div>&lt;Adam&nbsp;</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>