Hacking ModuleNotFoundError: No module named 'usb' when running exploit on OSX

  • Thread starter Thread starter gbazone
  • Start date Start date
  • Views Views 35,371
  • Replies Replies 16

gbazone

Well-Known Member
Member
Joined
Jun 6, 2014
Messages
224
Reaction score
91
Trophies
1
XP
938
Country
I have my switch in the proper recovery mode, but in terminal I get:

File "./shofel2.py", line 8, in <module>
import usb.core
ModuleNotFoundError: No module named 'usb'

Any ideas? Same thing happens when I try Kate's exploit. My Switch is plugged into the Macbook Pro (which has USB3).
 
Last edited by gbazone,
install python usb
sudo apt-get install python3-usb

Since I'm on OSX I used easy_installer and then pip instead of apt-get. There was only pyusb and not a python3-usb in the repository. Still getting the same error in terminal shown in my first message.
 
Last edited by gbazone,
I got this same error last night when doing this on my Mac

Used this approach

sudo easy_install pip
and
sudo pip install pyusb

But that error means pyusb is not installed properly
 
Last edited by Pottsy292,
i just started getting this error after an os x update. pyusb says it's installed.

I haven't upgraded to Catalina because I've read about a lot of issues. They added new security measures. I still send the payload from Terminal. My lazy one is like:

cd Downloads
cd fusee
sudo ./fusee-launcher.py whatever.bin

Same as it was the day it came out. I think I had to get Brew (https://brew.sh/) to get Python running properly.
 

Site & Scene News

Popular threads in this forum