Open shodanx2 opened 2 years ago
The steps I followed to make it run on python3:
sudo apt-get install -y python3-dbus
in a terminal.import gobject
in mice.py
with from gi.repository import GObject as gobject
#!/usr/bin/env python
or #!/usr/bin/env python3
Any chance you (or someone else who's already done it ) would be willing to upload the modified mice.py to the repo with those changes? I tried doing it myself and I'm still getting errors about python2 when running all.sh, which makes me think I'm probably doing it wrong, and that others following these directions likely will, too.
EDIT: Just realized that bullets 3-4 don't just apply to mice.py but ALL the python scripts
capandhostmessage.decode('hex')
in mice.py
with bytes.fromhex(capandhostmessage).decode('utf-8')
.encode('utf-8').hex()
instead of .encode('hex')
Note: I'm not sending a PR since I'm still not sure whether there might be other changes required to make this repo fully compatible with python3.
Opened the PR #106.
Working on a fix, Managed to install python2 but not the dependant libraries, even with pip2 installed, dbus fails to install