-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3*Packages.pymupdf: Runtime import failure in buildEnv #332384
Comments
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 |
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 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: