<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:581112251;
        mso-list-type:hybrid;
        mso-list-template-ids:830343812 134807575 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Dear Nate,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks for your speedy and supportive reply. All commands referred to below have been run within my ilambv2.0 directory:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">a)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">yes I used /usr/local/sci/bin/python2.7 for running setup.py with the hope that the matplotlib toolkit would be found (since as you know Python2.6,
 also held on our system, lacks MPL). So regarding the python version if I just use your command I get:<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">wld006:/ilambv2.00/ $ python --version<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Python 2.6.6<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">b)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">matplotlib is sitting within the /usr/local/sci directory under Python2.7:<o:p></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">wld006:/ilambv2.00/ $ /usr/local/sci/bin/python2.7 -c &quot;import matplotlib; print matplotlib.__path__&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">['/usr/local/sci/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-linux-x86_64.egg/matplotlib']<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">c)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I ran your command:
</span><span style="color:#1F497D">export PYTHONPATH=/usr/local/sci/lib/python2.7:$PATH and then tried setup.py again and the specified Python2.7 to check the installation (I’ve put a space between successive commands):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">wld006:/ilambv2.00/ $ export PYTHONPATH=/usr/local/sci/python2.7:$PATH<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">wld006:/ilambv2.00/ $ /usr/local/sci/bin/python2.7 setup.py install --user&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running install<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running build<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running config_cc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">unifing config_cc, config, build_clib, build_ext, build commands --compiler options<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running config_fc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running build_py<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running install_lib<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">writing byte-compilation script '/var/tmp/tmpYzm5qF.py'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">/usr/local/sci/bin/python2.7 -O /var/tmp/tmpYzm5qF.py<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">removing /var/tmp/tmpYzm5qF.py<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running install_egg_info<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Removing /home/ih0300/hadgw/.local/lib/python2.7/site-packages/ILAMB-0.1-py2.7.egg-info<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Writing /home/ih0300/hadgw/.local/lib/python2.7/site-packages/ILAMB-0.1-py2.7.egg-info<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">running install_clib<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">customize UnixCCompiler<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">wld006:/ilambv2.00/ $ /usr/local/sci/bin/python2.7 -c &quot;import ILAMB; print ILAMB.__version__&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp; File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp; File &quot;/home/ih0300/hadgw/.local/lib/python2.7/site-packages/ILAMB/__init__.py&quot;, line 36, in &lt;module&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;&nbsp;&nbsp; (key,__version__,key,requires[key],pkg.__version__))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ImportError: Bad mpl_toolkits.basemap version: ILAMB 0.1 requires mpl_toolkits.basemap &gt;= 1.0.7 got 1.0.5<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; So I now get a different error “Bad mpl_toolkits.basemap version...” instead of &nbsp;“No module named basemap”. For information here is my original installation
 check error where I just invoked python (instead of python2.7):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">wld006:/ilambv2.00/ $ python -c &quot;import ILAMB; print ILAMB.__version__&quot;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp; File &quot;/home/ih0300/hadgw/.local/lib/python2.6/site-packages/ILAMB/__init__.py&quot;, line 24, in &lt;module&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp; pkg = __import__(key, globals(), locals(), [froms[key]])<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">ImportError: No module named basemap<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;Given the new installation error can I conclude that my original problem was that I was not invoking Python2.7? It doesn’t look like I can use Conda or Pip
 on our system (not recognised commands when I tried them), so do I have to resolve the “Bad mpl_toolkits.basemap version...” by getting the system controllers to update basemap to 1.0.7 – or is there a way round this?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks, Graham.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Dr Graham Weedon<br>
Hydrology Dataset Scientist<br>
Met Office (JCHMR)<br>
Maclean Building&nbsp; Crowmarsh Gifford<br>
Wallingford&nbsp; Oxfordshire&nbsp; OX10 8BB&nbsp; UK<br>
Tel: &#43;44 (0)1491 692578&nbsp; Fax: &#43;44 (0)1491 692338<br>
E-mail: graham.weedon@metoffice.gov.uk&nbsp; Website:www.metoffice.gov.uk<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Nathan Collier [mailto:nathaniel.collier@gmail.com]
<br>
<b>Sent:</b> 19 July 2016 16:31<br>
<b>To:</b> Weedon, Graham; ilamb-users@ilamb.org<br>
<b>Subject:</b> Re: Problem installing ILAMBv2.0<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Graham,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks so much for writing. This is quite a pickle and extremely annoying even for me--I was dealing with a similar issue on my own system yesterday. Here is the general problem: basemap is an &quot;extension&quot; of the matplotlib package. So even
 if you install basemap successfully but it does place it in the &quot;extension&quot; folder corresponding to the matplotlib that actually is imported, it won't work. This is a tricky problem anyway compounded by the issue that you have multiple python versions.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Let's diagnose a few things:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">* Which version of python is your &quot;python&quot; command? I see you specifically ran &quot;/usr/local/sci/bin/python2.7&quot; when you setup ILAMB, but later use just &quot;python&quot;. My guess is that it is 2.7.xx but just to be sure run a:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">python --version<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">* Where is the matplotlib that is getting loaded? The __path__ variable of a module is very useful in determining what in the world is going on. It gives the location of the module being imported.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">python -c &quot;import matplotlib; print matplotlib.__path__&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">My guess is that while basemap is installed in &quot;/usr/local/sci/lib/python2.7/site-packages/&quot; your matplotlib which is being loaded is in &quot;.local/lib/python2.6/site-packages/&quot;. This would explain why basemap isn't getting loaded.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">If this is the case, we just need to tell python to look for packages first in /usr/local/sci. Try exporting an environment variable (assuming bash):<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">export PYTHONPATH=/usr/local/sci/lib/python2.7:$PATH<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">This will give preference to the location where you have basemap installed. Ultimately, I had such problems with packages that I used pip to uninstall most everything I use frequently, and then reinstalled them all in one location. This
 is the spirit behind my recommendation to always install with the --user option. If everything is in one location, then you have a better shot at everything just working.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Let me know how it goes. I am starting to get more of these kinds of mails so I have made a users list for ILAMB in hopes that our discussion will be helpful for others, I am CC'ing this list.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Nate<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">On Tue, Jul 19, 2016 at 10:01 AM Weedon, Graham &lt;<a href="mailto:graham.weedon@metoffice.gov.uk">graham.weedon@metoffice.gov.uk</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dear Nathan,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have been asked to evaluate the ILAMBv2.0 for use with JULES (the LSM used by the Met Office). Unfortunately, I am unable to complete the installation because setup.py
 is unable to find the basemap module. This seems to be caused by our having two installations of Python (both 2.6 and 2.7).<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have run the setup.py for local installation as follows:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">wld006:/ilambv2.00/ $ /usr/local/sci/bin/python2.7 setup.py install –user<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; but when I check the installation I get:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">wld006:/ilambv2.00/ $ python -c &quot;import ILAMB; print ILAMB.__version__&quot;&nbsp;&nbsp;
<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp; File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp; File &quot;/home/ih0300/hadgw/.local/lib/python2.6/site-packages/ILAMB/__init__.py&quot;, line 24, in &lt;module&gt;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp; pkg = __import__(key, globals(), locals(), [froms[key]])<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">ImportError: No module named basemap<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have established that the module basemap is available within mpl_toolkits (within:&nbsp;&nbsp; &nbsp;/usr/local/sci/lib/python2.7/site-packages/&nbsp;&nbsp; ), but the path in the error message indicates
 that the code is looking for basemap within the local installation (i.e.:&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; .local/lib/python2.6/site-packages/&nbsp;&nbsp; ).&nbsp; As you flagged on the Installation webpage of ILAMBv2.0 the problem is that we have two installations of Python: i.e. Python2.6 (which
 doesn’t have mpl_toolkits) and Python2.7 (which does have mpl_toolkits and basemap inside).<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Do you think&nbsp; that the error returned during the installation check indicates that setup.py has not used the Python2.7 path that was specified? Or is there a mis-match between the
 path accessed in specifying “froms” within __init__.py and the Python2.7 path (NB I inserted the path to Python2.7: &nbsp;&nbsp;&nbsp;#!/usr/local/sci/bin/python2.7&nbsp;&nbsp;&nbsp; &nbsp;as the first line of __init__.py)?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;Any pointers would be greatly appreciated, thanks, Graham.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt">Dr Graham Weedon<br>
Hydrology Dataset Scientist<br>
Met Office (JCHMR)<br>
Maclean Building&nbsp; Crowmarsh Gifford<br>
Wallingford&nbsp; Oxfordshire&nbsp; OX10 8BB&nbsp; UK<br>
Tel: &#43;44 (0)1491 692578&nbsp; Fax: &#43;44 (0)1491 692338<br>
E-mail: <a href="mailto:graham.weedon@metoffice.gov.uk" target="_blank">graham.weedon@metoffice.gov.uk</a>&nbsp; Website:<a href="http://www.metoffice.gov.uk" target="_blank">www.metoffice.gov.uk</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>