By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,485 Members | 1,031 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,485 IT Pros & Developers. It's quick & easy.

How to install pyUSB?

P: 5
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
Apr 26 '07 #1
Share this Question
Share on Google+
3 Replies


bartonc
Expert 5K+
P: 6,596
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.
Apr 27 '07 #2

P: 5
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.
May 1 '07 #3

bartonc
Expert 5K+
P: 6,596
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?
May 2 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.