Skip to content

Import error after pyinstaller #133

Closed
@Anniywell

Description

I install keyboard from master code.

  File "my_code.py", line 4, in <module>
    import keyboard
  File "c:\miniconda3\envs\x86\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 631, in exec_module

    exec(bytecode, module.__dict__)
  File "site-packages\keyboard\__init__.py", line 126, in <module>
  File "importlib\__init__.py", line 109, in import_module
ImportError: No module named 'keyboard._winkeyboard'

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions