Skip to content

ModuleNotFoundError: No module named 'raylib._raylib_cffi' #142

Open
@electronstudio

Description

@electronstudio

This means that you have the raylib module python files installed, but you do not have the native binary DLL installed.

There are two ways you can get it:

  1. When you install with pip, it should search pypi for a binary wheel that contains both the python files and an appropriate DLL for your system. All of the binary wheels are listed here and can be downloaded manually: https://pypi.org/project/raylib/#files . If there is a wheel for your system but pip is failing to find it automatically this is a bug so please let us know. (If there if there is no wheel you could request we add one, but we can't cover every possible platform.)

  2. If there is no wheel, then pip will attempt to compile one from the source code. This has apparently failed. Run pip -vvv install raylib and see if you can spot an error. If there is no error then this itself is a bug so report it. For more info on compiling see https://github.com/electronstudio/raylib-python-cffi/blob/master/BUILDING.rst

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions