ImportError

62 views
Skip to first unread message

zaf...@gmail.com

unread,
Oct 24, 2012, 7:36:08 AM10/24/12
to pyo...@googlegroups.com
Hello!

I get an error when I try to import the pyodbc module.

The first time I run 'import pyodbc' in the python interpreter I get:

ImportError: File not found


From the second time I get:

ImportError: dynamic module does not define init function (initpyodbc)

My OS is Alpine Linux. I've try rebuilding and reinstalling pyodbc and reinstalling python, but i always get the same message.

Thanks in advance for your help.


José.

zaf...@gmail.com

unread,
Oct 24, 2012, 8:40:31 AM10/24/12
to pyo...@googlegroups.com
I solved the problem.

I was running pyodbc 3.0.6. I've downloaded pyodbc-2.1.8, i run "python setup.py build install" and it works!

I just don't know what was exactly the problem.

Thanks!

José.
Reply all
Reply to author
Forward
0 new messages