Skip to content

JPEGLS not available under devbox/nix #87

Closed
@jpambrun

Description

@jpambrun

I am experimenting with devbox which is a helper around Nix. With the below config I get the following with no other output

pip install imagecodecs
python -c'import imagecodecs;print(imagecodecs.JPEGLS.available)'
False

I imagine this is some quirk of Nix, but after several hours of digging I still have no lead..

my devbox.json is as follow:

{
  "include": [
    "plugin:python"
  ],
  "packages": [
    "python39",
    "python39Packages.pip@latest"
  ],
  "shell": {
    "init_hook": ". $VENV_DIR/bin/activate",
  }
}

I have these files suggesting the libs are there:

$VENV_DIR/lib/python3.9/site-packages/imagecodecs.libs/libcharls-69f7967a.so.2.4.2
$VENV_DIR/lib/python3.9/site-packages/imagecodecs/_jpegls.cpython-39-x86_64-linux-gnu.so

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions