[BangPypers] import module error
Anand Balachandran Pillai
abpillai at gmail.com
Tue Nov 17 07:09:12 CET 2009
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.
>
> Try " from dbfpy import * " - it should work.
> 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
>
--
--Anand
More information about the BangPypers
mailing list