Python Forum
import keyboard module doesn't get found - working on laptop but no on raspberry pi..
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
import keyboard module doesn't get found - working on laptop but no on raspberry pi..
#1
I am using:
https://github.com/boppreh/keyboard/

I am unable to get it working on a raspberry pi, but it works perfectly on my linux mint laptop...

Any ideas?
Reply
#2
What is the error you get (in it's entirety, between the error tags). Even the RaspberryPi comes with 2 versions of Python pre-installed, v2 and v3. Each has it's own set of commands. For instance, to install module 'mody' in v2, would be pip install mody, while for v3 it would be pip3 install mody. The same holds true for invoking the interpreter, typing python in the command terminal will bring up Python v2, while typing python3 brings up Python v3.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgraded Python: Module no longer found - for Linux Curbie 8 1,389 Mar-05-2025, 06:01 PM
Last Post: Curbie
  beginner doesn't understand import cimerio 3 467 Feb-12-2025, 05:02 PM
Last Post: cimerio
Question [SOLVED] Upgraded Python: Module no longer found Winfried 1 1,023 Jan-01-2025, 02:43 PM
Last Post: Larz60+
  "Random" module is not working as expected Genericgamemaker 1 912 Jul-25-2024, 04:46 PM
Last Post: Gribouillis
  Module not found error even though installed NZGeorge 1 4,582 Jul-10-2024, 09:08 AM
Last Post: Larz60+
  is import cointegration_analysis a recognized module mitcht33 1 1,107 Nov-06-2023, 09:29 PM
Last Post: deanhystad
  How to summarize an article that is stored in a word document on your laptop? Mikedicenso87 2 1,477 Oct-06-2023, 12:07 PM
Last Post: Mikedicenso87
  problem in import module from other folder akbarza 5 9,529 Sep-01-2023, 07:48 AM
Last Post: Gribouillis
  pyside6 module not found ForeverNoob 4 5,730 Aug-18-2023, 04:36 PM
Last Post: snippsat
  can not import anaconda pandas module. PySpark pandas module is imported!! aupres 0 1,339 Aug-06-2023, 01:09 AM
Last Post: aupres

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020