I've been trying to get the sbsbaker to work, but after going through installing all the prerequisites I'm getting the following error when trying to run the script with PowerShell. What am I doing wrong?
PS C:\Program Files\Allegorithmic\Substance Automation Toolkit\Python API> pip -V
pip 19.3.1 from c:\python27\lib\site-packages\pip (python 2.7)
PS C:\Program Files\Allegorithmic\Substance Automation Toolkit\Python API> python -m pip install Pysbs-2019.2.3.zip
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing c:\program files\allegorithmic\substance automation toolkit\python api\pysbs-2019.2.3.zip
Installing collected packages: Pysbs
Found existing installation: Pysbs 2019.2.3
Uninstalling Pysbs-2019.2.3:
Successfully uninstalled Pysbs-2019.2.3
Running setup.py install for Pysbs ... done
Successfully installed Pysbs-2019.2.3
PS C:\Program Files\Allegorithmic\Substance Automation Toolkit\Python API> Set-Location "C:\Program Files\Allegorithmic\Substance Automation Toolkit"
PS C:\Program Files\Allegorithmic\Substance Automation Toolkit> .\sbsbaker.exe ambient-occlusion "D:\Download\Bake Test\ORT3500A hus.fbx" --output-size 10,10
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
QT_SCREEN_SCALE_FACTORS to set per-screen factors.
QT_SCALE_FACTOR to set the application global scale factor.
PS C:\Program Files\Allegorithmic\Substance Automation Toolkit>