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

gbazone

Well-Known Member
OP
Member
Joined
Jun 6, 2014
Messages
212
Trophies
0
XP
713
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,

gbazone

Well-Known Member
OP
Member
Joined
Jun 6, 2014
Messages
212
Trophies
0
XP
713
Country
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,

Pottsy292

Member
Newcomer
Joined
Apr 24, 2018
Messages
20
Trophies
0
Age
31
XP
246
Country
United Kingdom
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,

gbazone

Well-Known Member
OP
Member
Joined
Jun 6, 2014
Messages
212
Trophies
0
XP
713
Country
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

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: I just Luv having CEX :)