Closed Trnass closed 1 year 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.
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
export PYTHONPATH="${PAYTHONPATH}:usr/local/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages"
I have wrong typo in this issue, in code its correct ({PAYTON})
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 addedexport 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.