Grim-es/material-combiner-addon

Pillow and Linux

AdalynBlack opened this issue · 2 comments

I am running blender 2.82 through steam, and I can't get pillow to install. The automatic installation option does not work, and it is already installed manually on my system on every version of python I have (3.6-3.8). I ran it in a terminal to see if that could provide any further insight, and it did not help, although I did discover something else weird. When running the auto installation or clicking the button for manual installation, after a few minutes of processing (I think it took that long because blender seems to be having issues with running through the gamemoderun command. When I exclude it there is no noticeable delay), it opens a python console in the terminal.

Some more information: Click the manual installation button does nothing and outputs "Info: Browser opened" to the terminal. Browser does not get opened. The automatic install opens a python 3.7.4 shell twice and I have to manually exit out both times or nothing happens. After exiting out it says "Info: Installation complete", and after restarting Blender nothing has changed and it still needs the pillow library. Other things of note: It mentions GCC 6.3.1, which I do not have installed, and also mentions Red Hat 6.3.1-3. I am running Arch 5.8.5.

I am very late, but I ran into the exact same problem. I found a hacky workaround. I am on EndeavourOS 6.2.10-arch1-1.

Blender has its own Python binary which you're gonna install pillow to. But first, you have to install pip to that specific binary.

  • Download this get-pip.py script (https://bootstrap.pypa.io/get-pip.py) and place it where Blender's Python binary is located (let's assume /path/to/blender/python/bin/).
  • Run the script with Blender's Python to install pip on that binary. So: /path/to/blender/python/bin/pythonX.Y get-pip.py
  • You're gonna see a bunch of new files on that directory. Install pillow with the pip binary you just installed. So: /path/to/blender/python/bin/pip install pillow

That did the trick for me! I hope it helped.