Skip to content

ModuleNotFoundError with Chaquopy 16.0.0 #1377

@mhsmith

Description

@mhsmith

All wheels built with cibuildwheel will fail to import on Chaquopy 16.0.0, for the reason described in #1370.

Fortunately there are several easy solutions. Any one of the following will work:

  • (RECOMMENDED) Update to Chaquopy 16.1.0 or later. If this doesn't solve the problem, then it's probably caused by something else, so please don't comment here. Instead, search the other issues, and create a new one if necessary.

    • If using Briefcase, update to version 0.3.23 or later, then rerun briefcase create android.
  • Change your app's Python version to Python 3.12 or older, which cibuildwheel has no plans to support on Android.

    • If using Briefcase, create a new virtual environment with the desired Python version, install Briefcase into it, then rerun briefcase create android.
  • Pin the version of the affected package.

    • Anything in the Chaquopy package repository will be unaffected by this issue. For example, if the problem was with numpy, then add numpy==1.26.2 to your app's requirements, replacing the existing numpy entry, if any.

I'll leave this issue open for visibility until Chaquopy 16.1.0 has been available for long enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions