Page 1 of 2
Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 11:47 am
by DorPrz
Hello all,
I followed this guide:
https://github.com/LuxCoreRender/WindowsCompile
And I want to build with python version 3.6 (I also have blender version with 3.6 python
https://github.com/TylerGubala/blenderpy)
What should I change to make it work?
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 12:08 pm
by acasta69
You can build luxcore with Python 3.6 with this command:
I have tested the resulting pyluxcore with a blender buildbot build, I assume you are using one of those...
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 1:03 pm
by DorPrz
That worked, but now I understand that I wanted to build it as a addon for blender (blendluxcore?) Can it be done?
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 1:07 pm
by B.Y.O.B.
Clone BlendLuxCore repo, then run get_binaries.py.
See the readme here for more information:
https://github.com/LuxCoreRender/BlendL ... master/bin
After that, you can copy or symlink the BlendLuxCore repo to your Blender addons directory (or zip it and install via user preferences).
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 2:03 pm
by DorPrz
pyluxcoretool.exe is missing, what could be the problem?
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 2:39 pm
by Dade
DorPrz wrote: ↑Mon Sep 17, 2018 2:03 pm
pyluxcoretool.exe is missing, what could be the problem?
Missing PyInstaller when building LuxCore
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 3:33 pm
by DorPrz
Dade wrote: ↑Mon Sep 17, 2018 2:39 pm
DorPrz wrote: ↑Mon Sep 17, 2018 2:03 pm
pyluxcoretool.exe is missing, what could be the problem?
Missing PyInstaller when building LuxCore
Hoped it was it but no, pyinstaller is installed and working:
The build had some warnings I don't know if they are related
Could I generate it manually perhaps? What is the pyinstaller command?
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 3:54 pm
by B.Y.O.B.
Maybe you are missing PySide?
Anyway, BlendLuxCore works without pyluxcoretools as well, they are only needed for network rendering.
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 5:05 pm
by acasta69
If you need pyluxcoretools.exe, you can generate it after the build is completed with this command:
You will then find a folder named "luxcorerender" containing all required files, including that one.
Re: Build LuxCore with Python version 3.6
Posted: Mon Sep 17, 2018 8:32 pm
by mib2berlin
Hi, if I understand this correctly Blender dev´s upgrade to Python 3.7.
Because you´re at it may change to 3.7 too.
Cheers, mib
https://developer.blender.org/rB51ac494 ... 61d6ba3ad9