LuxCoreRender/LuxCore

The problems when install LuxCore "!!! Python major version '3' is required"

didiHe opened this issue · 2 comments

I tried to install LuxCore with "LinuxCompile" files by run "first_run.sh" by the step of wiki "http://wiki.luxcorerender.org/Compiling_LuxCore".

I tried to install it under Ubuntu20.04 but error happened"!!! Python major version '3' is required".
There are twos python versions, 2.7 and 3.8. I changed the priority of python, now the major version is 3.8.
But error still exists as below:
image

I also have issues installing the package that way, but not with python 3, with ImfTiledMisc.

Same here, any solution?

Debian 11
ton@debian:~/LinuxCompile$ cat /etc/debian_version 11.7
Python3
ton@debian:~/LinuxCompile$ python -V Python 3.9.2
Latest git clone.

ton@debian:~/LinuxCompile$ ./first_run.sh
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 https://ocean.surfshark.com/debian stretch InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bison is already the newest version (2:3.7.5+dfsg-1).
cmake is already the newest version (3.18.4-2+deb11u1).
flex is already the newest version (2.6.4-8).
git is already the newest version (1:2.30.2-1+deb11u2).
libgtk-3-dev is already the newest version (3.24.24-4+deb11u3).
libtool-bin is already the newest version (2.4.6-15).
libgl1-mesa-dev is already the newest version (20.3.5-1).
python3-numpy is already the newest version (1:1.19.5-1).
patchelf is already the newest version (0.12-1).
python3-dev is already the newest version (3.9.2-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
fatal: destination path 'LuxCore' already exists and is not an empty directory.
*** BUILDING FOR X86-64 (SSE2) ***

  • LuxCore static enabled
  • Using GCC compiler
  • Checking distfiles
    boost_1_72_0.tar.gz
    bzip2-1.0.8.tar.gz
    c-blosc-1.17.1-bin.tgz
    cuda11.0-nvrtc.tar.gz
    embree-3.12.2.x86_64.linux.tar.gz
    freetype-2.4.11.tar.bz2
    ilmbase-2.2.0.tar.gz
    jpegsrc.v9d.tar.gz
    libpng-1.6.37.tar.gz
    oidn-1.4.0.x86_64.linux.tar.gz
    oiio-2.2.13.1.tar.gz
    openexr-2.4.1.tar.gz
    qt-5.12.2.tar.gz
    tbb2019_20191006oss_lin.tgz
    tiff-4.0.9.tar.gz
    xz-5.0.5.tar.xz
    zlib-1.2.11.tar.gz
  • Done checking distfiles
  • Checking target tree
  • Target tree exists
  • Checking libstdc++
  • Done checking libstdc++
  • Checking python
    !!! Python major version '3' is required