[BangPypers] import module error
Dhananjay Nene
dhananjay.nene at gmail.com
Mon Nov 16 20:05:34 CET 2009
This is likely to help
http://dbfpy.sourceforge.net/
Note the import statements change based on the version
On Mon, Nov 16, 2009 at 8:23 PM, Ranganath s <ranganaths at gmail.com> wrote:
> Hi all,
>
> i downloaded the dbf module and installed the module using the
> command "python setup.py install". It was successful. After that i can
> see
> dbf.py in the following path
> /usr/local/lib/python2.6/dist-packages/dbfpy/dbf.py
> /usr/local/lib/python2.6/dist-packages/dbfpy/dbf.pyc
>
> But when i try to import it. Its giving error as follows :-
> >>> import dbf
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named dbf
> >>> from dbf import *
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named dbf
> >>>
>
> Can some one tell me where am i going wrong.
>
> Thank you
> Ranganath.S
>
> --
> I blog at http://ranganaths.wordpress.com
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
--
--------------------------------------------------------
blog: http://blog.dhananjaynene.com
twitter: http://twitter.com/dnene
More information about the BangPypers
mailing list