from collections import OrderedDict and python version
<p>I am working with some python code given to me, and it fails on my system.  Specifically on the statement of <code>from collections import OrderedDict</code> having a capital O and capital D.
But if I change the statement to be <code>import ordereddict</code> it does not fail.
And if I try <code>import OrderedDict</code> it fails with a not found error.</p>

<p>My version of python is 2.6.9 per the SuSE SLES SDK 11.4.
The python I am trying to execute I believe was written for an earlier 2.6.x version of python.</p>

<p>Is this problem I am experiencing a direct result of the python version?
Does anyone have any suggestions how to properly fix this problem?
Is there a difference between <code>OrderedDict</code> and <code>ordereddict</code> and whether or not it comes from <code>collections</code>?</p>