[SciPy-User] Hydroclimpy: unable to find sqlite module

Christoph Gohlke cgohlke at uci.edu
Thu Dec 6 15:34:49 EST 2012


On 12/6/2012 12:10 PM, James Adams wrote:
> I have installed the scikits.hydroclimpy package but when I try to
> verify that it's installed correctly via an import command within the
> python interpreter I get an error message telling me that the sqlite
> module is not present:
>
> $ python
> Python 2.7.3 (default, Dec  6 2012, 14:20:34)
> [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import scikits.hydroclimpy
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File "/usr/local/lib/python2.7/site-packages/scikits.hydroclimpy-0.67.1-py2.7-linux-x86_64.egg/scikits/hydroclimpy/__init__.py",
> line 19, in <module>
>      import io
>    File "/usr/local/lib/python2.7/site-packages/scikits.hydroclimpy-0.67.1-py2.7-linux-x86_64.egg/scikits/hydroclimpy/io/__init__.py",
> line 7, in <module>
>      import sqlite
> ImportError: No module named sqlite
>
>
> I do however have the sqlite3 module installed.
>
> Can anyone suggest a work around for this?
>
> --James


sqlite.py is missing in trunk. You could try to copy the file from the 
pierregm branch

<http://projects.scipy.org/scikits/browser/branches/pierregm/hydroclimpy/scikits/hydroclimpy/io/sqlite.py>

Christoph



More information about the SciPy-User mailing list