thanhlev / keyboard_mouse_emulate_on_raspberry

Bluetooth Keyboard Mouse Emulator on Raspberry Pi
https://thanhlev.github.io/
MIT License
297 stars 103 forks source link

Can't locate module #34

Closed Trnass closed 1 year ago

Trnass commented 2 years ago

pi@raspi:~/Desktop/Raspberry/Keyboard mouse emulate on raspberry/keyboard_mouse_emulate_on_raspberry-master/keyboard $ python send_string.py "Test string" Traceback (most recent call last): File "send_string.py", line 4, in <module> import dbus ImportError: No module named dbus I've already tried to import dbus-next (dbus_next) instead of dbus, I've added export PYTHONPATH="${PAYTHONPATH}:usr/local/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages" I've reinstalled pip, python, dbus library, dbus-next and updated system, I'm running on latest Raspbian. Everything ends same, ImportError line 4.

Trnass commented 2 years ago

I have wrong typo in this issue, in code its correct ({PAYTON})