Blender addon can't find Python libraries

  • Open
  • quality assurance status badge
Details
2 participants
  • raingloom
  • Sébastien Lerique
Owner
unassigned
Submitted by
raingloom
Severity
normal
R
R
raingloom wrote on 8 Nov 2020 23:22
(name . Guix Bugs)(address . bug-guix@gnu.org)
20201108232230.7511b511@riseup.net
I've been meaning to report this for a while, but forgot. Can't test it
right now, but I'm pretty sure it's still relevant. (that reminds me, i
should finish updating the Blender package too)

Reproduce by installing an addon like AnimationNodes. Or just open the
scripting REPL and enter 'import numpy'.

I've tried fixing it before, but didn't get far. Will probably try
again *eventually*, but I have a bunch of other - more pressing -
projects right now.

In the long run, it would also be cool if we could provision Blender
configs with Guix, but that's another discussion that probably needs
some upstream involvement. But it would be cool if Guix could be used by
more artists.
S
S
Sébastien Lerique wrote on 30 Mar 2021 06:31
(address . 44541@debbugs.gnu.org)
87sg4duus4.fsf@eauchat.org
Hi raingloom,

Toggle quote (3 lines)
> Reproduce by installing an addon like AnimationNodes. Or just
> open thescripting REPL and enter 'import numpy'.

I just hit this, and calling blender with
`--python-use-system-env` works as a workaround. Is this maybe
expected behaviour?

Sébastien
R
R
raingloom wrote on 31 Mar 2021 03:18
Re: bug#44541: Blender addon can't find Python libraries
(name . Sébastien Lerique)(address . sl@eauchat.org)(address . 44541@debbugs.gnu.org)
20210331031812.4a6a6770@riseup.net
On Tue, 30 Mar 2021 13:31:39 +0900
Sébastien Lerique <sl@eauchat.org> wrote:

Toggle quote (14 lines)
> Hi raingloom,
>
> > Reproduce by installing an addon like AnimationNodes. Or just
> > open thescripting REPL and enter 'import numpy'.
>
> I just hit this, and calling blender with
> `--python-use-system-env` works as a workaround. Is this maybe
> expected behaviour?
>
> Sébastien
>
>
>

Ah, missed that flag. I don't think it's necessarily expected, I
remember it working without that on Arch, and I don't think they patch
Blender. I could just pacman -Si python-numpy and Animation Nodes
worked.
Maybe we should make that the default if we wanna package Blender
addons. (Which I very much want. A reproducible art pipeline would be a
very nice use case indeed.)
?