<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>I've found the problem. Sorry to cause a fuss!<br></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">A package that I have created provides a copy of argparse that doesn't have a __version__ attribute. Should Ipython be able to work around this or do I need to change something in my installation scripts, do you think? This is my setup.py:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">import sys<br>import imp<br>from setuptools import
 setup<br><br># Default list of provided packages.<br>packlist = [ 'morebasemap', 'morebasemap.scripts','decimaldegrees', 'pyasc',<br>            'appdirs' ]<br><br># Try for argparse and if it's not there provide as package<br>try:<br>    imp.find_module('argparse', sys.path[1:])<br>except ImportError:<br>    packlist.append('argparse')<br><br>setup( name='morebasemap',<br>       version='0.09',<br>       include_package_data = True,<br>       packages=packlist,<br>       requires=[ 'matplotlib',<br>                  'basemap',<br>                  'netCDF4'
 ],<br>       package_dir={ 'morebasemap': 'morebasemap',<br>                     'morebasemap.scripts': 'scripts'},<br>       package_data={'morebasemap': ['json/*.json']},<br>       entry_points = { 'console_scripts':<br>                            ['bathy2xyz = morebasemap.scripts.bathy2xyz:main'] }<br>      )<br><br></div></div></body></html>