Where can I download Pyside2 and related stubs to build, together with RLpy.py, a structure allowing me to use autocomplete in VSCode when calling libraries of Reallusion Python ?
Hi OldFatherThames2,
The Python environment in iClone is embedded inside the application, and PySide2 is pre-installed in the embedded Python at:
%iClonePath%\Bin64\Lib\site-packages\PySide2
If you want VSCode’s autocomplete to show PySide2 hints, you can install PySide2-stubs manually.
You can run the following command under %iClonePath%\Bin64:
iClonepy -m pip install PySide2-stubs
The .pyi files will be installed in:
%iClonePath%\Bin64\Lib\site-packages\PySide2-stubs
Hope this helps!
You are very kind, but unfortunately applying your suggestions causes errors.
Perhaps this is because my ‘general’ Python
is on the system disk, but the Reallusion programs and related libraries are on the “e:\” disk.
I will now try to enter the path to iClonepy.exe in the system variables.
Administrator privileges are required to run this command.
Done in PowerShell as administrator.
iClonepy: The term ‘iClonepy’ is not recognized as the name of a cmdlet, function, executable program, or script file.
Now i try with cmd.
Thanks