On Fri, Jul 3, 2009 at 9:01 AM, soulos<
nigel.budden@...> wrote:
>
> G'day Guys,
> I've got swig building creating the linkage between python and c++ so that I
> can create objects in either language that the other can use, which is
> great!. However when I try and do:
> import sys
> import mySwigComponent
> import pyodbc
>
> it fails, and tells me there is no module named pyodbc. I've ensured that
> the pyodbc.pyd file is in the correct path, I've even tried sys.path.append(
> ) to ensure that the location is know, to no avail.
>
> I am currently using Python 2.6.2 with the pyodbc.pyd built against it.
>
> Hope someone can help, I'm pulling my hair out and I'm sure it's something
> simple that I've missed.
>
> Cheers
>
Hi,
You may want to see this post for answer:
http://www.nabble.com/Re:-SWIG,-Python,-and-NMake-p22735239.html-- Haoyu Bai
------------------------------------------------------------------------------
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user