I was having a bit of trouble running the addon on Fusion studio 16, @BigRoy helped me on discord and I wanted to post here what we went through to help anyone that is having the same problem.
I was getting an error that said that I didn’t have PySide installed
For this particular issue the solution was upgrading to the latest version of python 3.6 and installing PySide on that version, for completion sake, to install pyside just go to the folder where Python 3.6 is installed and in the command line run:
python -m pip install PySide2
Now, one thing that is important to comment is that before fusion 18 you are limited to python 2.7 and 3.6 in their default locations, starting on 18 you can use 3.6 - 3.10 and use the FUSION_PYTHON3_HOME
variable.
So if you want to set up python for fusion on AYON using 18+, just go to the application settings for fusion and set up the environment to something like:
{
"FUSION_PYTHON3_HOME": "{FUSION18_PYTHON36_HOME}",
"FUSION18_PYTHON36_HOME": {
"windows": "{LOCALAPPDATA}/Programs/Python/Python39",
"darwin": "~/Library/Python/3.6/bin",
"linux": "/opt/Python/3.6/bin"
}
}
Here I’m using Fusion 16, so the variable is irrelevant, but the idea is the same.
Hopefully this can help someone that is having some issues with Python in fusion.