Open mockuser404 opened 3 months ago
I tried the patch from #332385 and it didn't fix this issue. Can someone tell me if this is a real issue or if I'm doing something wrong here. I wish to simply use pymupdf to write some python code on Nixos to extract embedded videos from pdf.
I tried with nixpkgs.url = "github:greg-hellings/nixpkgs?ref=browsr-1.21.0";
and have the same issue.
python3Packages.pymupdf
works, python3.withPackages (p: [ p.pymupdf ])
doesn't.
Can't say I know why though š„²
Thank you. I got it working with
devShells.${system}.default = pkgs.mkShell {
venvDir = "./venv";
buildInputs = with pkgs.python312Packages; [
venvShellHook
python
pymupdf
icecream
];
# ...
};
It's not related to #332385 in any way then. I don't know enough nix to debug why this works and why the first doesn't, it is a bug so, I am leaving this issue open even though there is a workaround.
Addressed by #334596
Describe the bug
When using nixpkgs stable (nixos-24.05) the packages
python312Packages.pymupdf
andpython311Packages.pymupdf
both are not working properly in a nix shell env.Steps To Reproduce
Steps to reproduce the behavior:
Now check in the devshell
Expected behavior
pymupdf gets imported properly since this is approved in nixos stable.
Additional context
python311
as well.Notify maintainers
@teto
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.