Package Details: python-numcodecs 0.12.1-1

Git Clone URL: (read-only, click to copy)
Package Base: python-numcodecs
Description: A Python package providing buffer compression and transformation codecs for use in data storage and communication applications
Upstream URL:
Licenses: MIT
Submitter: flying-sheep
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 2
Popularity: 0.000000
First Submitted: 2019-01-02 14:15 (UTC)
Last Updated: 2023-11-02 13:44 (UTC)

Latest Comments

flying-sheep commented on 2023-01-12 17:49 (UTC) (edited on 2023-01-12 17:49 (UTC) by flying-sheep)

It’s defined here:

I guess that cython syntax means it needs /usr/include/blosc.h (in the blosc package) at build time. I should add that to build deps.

tujir commented on 2022-12-19 14:39 (UTC)

Do we need python-blosc as dependency?

File "/usr/lib/python3.10/site-packages/zarr/", line 2, in <module>
  from zarr.codecs import *
File "/usr/lib/python3.10/site-packages/zarr/", line 3, in <module>
  from numcodecs import get_codec, Blosc, Pickle, Zlib, Delta, AsType, BZ2

ImportError: cannot import name 'Blosc' from 'numcodecs' (/usr/lib/python3.10/site-packages/numcodecs/

flying-sheep commented on 2022-09-15 10:35 (UTC)


carlosal1015 commented on 2022-09-12 17:04 (UTC)

Hi, I have the following message error

==> Making package: python-numcodecs 0.10.2-1 (Mon Sep 12 12:03:25 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting dependencies for wheel...
[numcodecs] setting up Blosc extension
[numcodecs] compiling Blosc extension with SSE2 support
[numcodecs] compiling Blosc extension with AVX2 support
Compiling numcodecs/blosc.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/blosc.pyx
[numcodecs] setting up Zstandard extension
Compiling numcodecs/zstd.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/zstd.pyx
[numcodecs] setting up LZ4 extension
Compiling numcodecs/lz4.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/lz4.pyx
[numcodecs] setting up compat extension
Compiling numcodecs/compat_ext.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/cpython/buffer.pxd.
[1/1] Cythonizing numcodecs/compat_ext.pyx
[numcodecs] setting up shuffle extension
[numcodecs] setting up vlen extension
Compiling numcodecs/vlen.pyx because it depends on /usr/lib/python3.10/site-packages/Cython/Includes/libc/string.pxd.
[1/1] Cythonizing numcodecs/vlen.pyx

ERROR Missing dependencies:
==> ERROR: A failure occurred in build().
 -> error making: python-numcodecs

mauritiusdadd commented on 2022-08-05 08:04 (UTC)

Hi, can you add python-wheel and python-setuptools-scm to make dependencies? The package fails to build without them in a clean environment

flying-sheep commented on 2022-01-27 07:47 (UTC)

good idea, done!

Strawpants commented on 2022-01-25 14:57 (UTC)

I tried compiling this on a relatively old computer (Nehalem) and got an illegal (hardware) instruction as reported here:

The reason is apparently that the cpu doesn't support avx2 instructions.

I recommend to change in the PKGBUILD export CFLAGS="$CFLAGS -msse2 -mavx2" to export CFLAGS="$CFLAGS -march=native"

so only the available instructions will be build (both sse2 and avx2 when available), but the build will also work on older architectures.