Skip to content

ModuleNotFoundError: No module named 'crc32c' #3592

@lispandfound

Description

@lispandfound

Zarr version

v3.1.3

Numcodecs version

v0.16.4

Python Version

3.13

Operating System

Linux

Installation

Using uv into virtual environment

Description

The just released numcodecs removes the crc32 dependency in favour of the google-crc32c library, but codecs/crc32c_.py in the latest pip release 3.1.3 requires crc32c.py on line 8. Obviously this is fixed in main, but it means that pip install zarr won't produce a working zarr install.

Steps to reproduce

# /// script
# requires-python = ">=3.11"
# dependencies = [
#   "zarr==3.1.3",
# ]
# ///
#

from zarr.codecs import crc32c_

Additional output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPotential issues with the zarr-python library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions