Pasting this here for anyone else on the bunny trail that I was today (Oct 5, 2014). NOTE: this is from a very inexperienced PoV so, this may be obvious to many of you, but it wasn't for me and took awhile to figure out.
I'm trying to interface a simple laser barcode scanner to a RaspberryPi B+ via USB, literally no experience with Linux/RBPi etc. Eventually Google searching brought me to this page.
I got to the answer provided by David Sykes on Jun 15, 2012 with the PyUSB reference and from there I found ADAFruit's Installing Python & PyUSB, as part of their hacking of a Microsoft Kinect..
I feel I could have gotten through it pretty quickly if it were just on my PC. But doing this through a RaspberryPi was really throwing me for a loop. If you read through that guide, you'll hit the same roadblock I did where you can't download stuff and you can't simply mash in the things they say without the files. So how do you get the files if you can't download them? [Maybe there is a way to download these files, but on my Pi I kept getting an Error 400 on source forge and Midori wouldn't download the Tar or Zip files.]
Referencing Walac's PyUSB, you can enter to first part into the LXTerminal to get libusb but then the next command given assumes you have the files for PyUSB and that you can locate them through the directory.
So HERE are my altered steps to get LibUSB and PyUSB installed on a RaspberryPi:
Order of commands I entered into the LXTerminal:
sudo apt-get install python libusb-1.0
Confirm with Y
sudo apt-get install python-pip
then
sudo pip install --upgrade pyusb
NOTE: some of this may already be on your RBPi depending on what you've done before this, but doing the commands again won't hurt it, it simply told me that the file was up to date.
The last command "--upgrade pyusb" gave me the following:
Downloading/unpacking pyusb
Downloading pyusb-1.0.0b1.tar.gz (44Kb): 44Kb downloaded
Running setup.py egg_info for package pyusb
Installing collected packages: pyusb
Running setup.py install for pyusb
Successfully installed pyusb
Cleaning up...
SO, I think it's all good now and I can go back to my tutorials.
Again, I'm using a RaspberryPi B+, standard NOOBS install.. I've mostly referenced sources such as ADAFRUIT's LEARN system that was made with mostly the Model B, but everything I've done so far is working on the B+.
Hopefully that info will help anyone else who's gotten stuck at that same point.