Page 1 of 1

ISSUE: Unable to install on Ubuntu

Posted: Mon Mar 16, 2020 4:44 am
by tushantin
Hi, I'm new to Lux. I'm trying to install the latest Lux from the website onto the latest Blender 2.82a. It imports just fine, but I'm unable to enable the add-on. It gives the following error in the terminal.

Code: Select all

Traceback (most recent call last):
  File "/home/cyan/Blender/2.82/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/cyan/.config/blender/2.82/scripts/addons/BlendLuxCore/__init__.py", line 23, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: libOpenCL.so.1: cannot open shared object file: No such file or directory
Any idea how I could fix this?

I use Ubuntu 18.04.4 LTS, if that info is of any relevance.

Re: ISSUE: Unable to install on Ubuntu

Posted: Mon Mar 16, 2020 11:25 am
by Dade
tushantin wrote: Mon Mar 16, 2020 4:44 am

Code: Select all

Traceback (most recent call last):
  File "/home/cyan/Blender/2.82/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/cyan/.config/blender/2.82/scripts/addons/BlendLuxCore/__init__.py", line 23, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: libOpenCL.so.1: cannot open shared object file: No such file or directory
Any idea how I could fix this?
You are missing an OpenCL driver for your GPU, install one or install the LuxCoreRender version without OpenCL support.