How to install pyUSB?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robingfx
    New Member
    • Apr 2007
    • 5

    How to install pyUSB?

    This seems like a pretty straight forward thing to do, but I just can't get pyUSB to install properly. I download the .gz file from SourceForge and run the normal "python setup.py install". I get this message:

    >python setup.py install

    running install
    running build
    running build_ext
    error: Python was built with Visual Studio 2003;
    extensions must be built with a compiler than can generate compatible binaries.
    Visual Studio 2003 was not found on this system. If you have Cygwin installed,
    you can try compiling with MingW32, by passing "-c mingw32" to setup.py.


    Can someone please help me with this problem? I've spent way too much time trying to get this to work. Thank you so much in advance. Robin
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by robingfx
    This seems like a pretty straight forward thing to do, but I just can't get pyUSB to install properly. I download the .gz file from SourceForge and run the normal "python setup.py install". I get this message:

    >python setup.py install

    running install
    running build
    running build_ext
    error: Python was built with Visual Studio 2003;
    extensions must be built with a compiler than can generate compatible binaries.
    Visual Studio 2003 was not found on this system. If you have Cygwin installed,
    you can try compiling with MingW32, by passing "-c mingw32" to setup.py.


    Can someone please help me with this problem? I've spent way too much time trying to get this to work. Thank you so much in advance. Robin
    I guess that you found the binaries for window(?) based on your other post.

    Comment

    • robingfx
      New Member
      • Apr 2007
      • 5

      #3
      Yeah I got it to work after several days of agony. It was a stupid problem. I was using Python 2.5, and apparently the binary files don't work for the newest version. So as a last resort I tried to install Python 2.4 and it worked. Thanks for noticing I got it to work.

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by robingfx
        Yeah I got it to work after several days of agony. It was a stupid problem. I was using Python 2.5, and apparently the binary files don't work for the newest version. So as a last resort I tried to install Python 2.4 and it worked. Thanks for noticing I got it to work.
        Aren't net search JUST the COOLEST?

        Comment

        Working...