Pyluxcoretool exe not working on Windows

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Pyluxcoretool exe not working on Windows

Post by Dade »

Fox wrote: Fri Mar 08, 2019 9:31 pm The build i did today with "pip install pyside2==5.12.0 shiboken2==5.12.0"
there is no pyluxcoretool.exe
Maybe i need to go back to new pyside?
You need to run create-standalone.bat to pack everything together (and create pyluxcoretool.exe).
Support LuxCoreRender project with salts and bounties
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Pyluxcoretool exe not working on Windows

Post by Fox »

Yes i did .\create-standalone.bat

Code: Select all

D:
cd D:\CP\luxcorerender\WindowsCompile\
.\cmake-build-x64.bat
.\collect-compiled-binaries.bat
.\create-standalone.bat
There was no errors, just no Pyluxcoretool.exe, only the pyluxcoretools.zip, is this the correct one, it's only 60KB?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Pyluxcoretool exe not working on Windows

Post by Dade »

Fox wrote: Fri Mar 08, 2019 10:48 pm Yes i did .\create-standalone.bat

Code: Select all

D:
cd D:\CP\luxcorerender\WindowsCompile\
.\cmake-build-x64.bat
.\collect-compiled-binaries.bat
.\create-standalone.bat
There was no errors, just no Pyluxcoretool.exe, only the pyluxcoretools.zip, is this the correct one, it's only 60KB?
Don't run collect-compiled-binaries.bat, just the create-standalone.bat after the compilation.
Support LuxCoreRender project with salts and bounties
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Pyluxcoretool exe not working on Windows

Post by Fox »

O i see, thank you Dade.
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Pyluxcoretool exe not working on Windows

Post by Fox »

After rolling back to older PySide, something got broken. Had to reinstall pyinstaller.
Now i have the pyluxcoretool.exe
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Pyluxcoretool exe not working on Windows

Post by acasta69 »

Fox wrote: Sat Mar 09, 2019 3:23 am After rolling back to older PySide, something got broken. Had to reinstall pyinstaller.
Now i have the pyluxcoretool.exe
But now are you using the old PySide or PySide2?
Both should work...
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Pyluxcoretool exe not working on Windows

Post by Fox »

acasta69 wrote: Sat Mar 09, 2019 10:45 am But now are you using the old PySide or PySide2?
Both should work...
Not sure

After i did
pip install pyside2==5.12.0 shiboken2==5.12.0

I did again
pip install PySide2
There it tells me Python 3.7 allready has newest that is 5.12.0
I thought i installed 5.12.1 at first
I have both Pyhon 3.5 and 3.7
LuxCore compile did not work with 3.5 nor with 3.7

I re do this
pip install pyinstaller
It does installing all the components

Also re do that
pip install numpy
Tells me i allready have that.
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Pyluxcoretool exe not working on Windows

Post by acasta69 »

If I understood correctly, now it's working?
If not, please send the pyinstaller output.

Should you have again problems, you could try building from a python virtual env, where you just install the needed packages.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: Pyluxcoretool exe not working on Windows

Post by Fox »

Yes it works.
Post Reply