#1
  1. I <3 ASCII
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Aug 2003
    Posts
    2,399
    Rep Power
    1233

    Help with built in modules (odbc)


    I'm running python 2.3.2 on windows xp and want to transfer my code to another machine running 2.3.2 on windows xp.

    The problem is on the second machine the code breaks on the following line

    Code:
    import odbc
    the error message returned is the following
    Code:
    ImportError: no module named odbc
    Thanks in advance

    -MBirchmeier
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    ODBC is part of the WIN32all package.

    Has that been installed on the second machine?

    grimey

    Comments on this post

    • MBirchmeier agrees : (09/08/2005) - 10 months later and I had the same problem... thanks for the help again
  4. #3
  5. I <3 ASCII
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Aug 2003
    Posts
    2,399
    Rep Power
    1233
    "It's the little things that get you when you weren't paying attention"
    - Jim Infantino (stress)

    Yup, fixed that right up. Thanks

    -MBirchmeier

IMN logo majestic logo threadwatch logo seochat tools logo