Page 1 of 1

PyQtForSoftimage for Windows 10

Posted: 12 Sep 2016, 12:03
by Hirazi Blue
While trying to get PyQTforSoftimage to work under Softimage 2015 and Windows 10 I ran into a whole lot of errors.
After opening a thread in the Mailing List, it turned out that the problem lies in the PySide prerequisite.
Takayoshi Matsumoto has provided us with an updated PyQT-addon and an updated PySide to address the issue with Windows 10. This only seems to work when using an “external” Python…
  • Download and install Python 2.7 and Pywin32
  • Download “PySide-1.2.4-cp27-cp27m-win_amd64.whl” from here and the updated addon from here.
  • Open a command prompt in the folder where you've downloaded the alternative PySide and install it using

    Code: Select all

    pip install --upgrade PySide-1.2.4-cp27-cp27m-win_amd64.whl
  • Right-click the Windows menu logo. Go to Control Panel → System and Security → System → Advanced system settings → Environment variables" and create an environment variable called “PYTHONHOME”
    and point it to your Python 2.7 install (for example: E:\Python27). For some reason this is a requirement under Softimage 2015 in Windows 10 if you want to use an "external Python".
    (If you want to use the "internal Python" again, you'll have to delete this environment variable first.)
  • Go to “Preferences > Scripting” and uncheck “Use Python Installed with Softimage”. Install the updated addon. Restart Softimage. #:-s


There is one gotcha to all this. When using the “external” Python you lose the “print” function in Python, so you’ll have to revert to good old-fashioned “Application.Logmessage”… :-?

Re: PyQtForSoftimage for Windows 10

Posted: 12 Sep 2016, 12:54
by jonmoore
This is great to know.

I lost a whole day getting my PyQTforSoftimage to work on Windows 10. Not quite sure how I did it but installing the Anaconda Python distribution helped.

I saw your lengthy discussion in a few different places (inc the Softimage mail list) and felt your pain. If I have to rebuild my XSI workstation any time soon, it's good to know the PyQT aspect will be a little smoother. :)

Re: PyQtForSoftimage for Windows 10

Posted: 12 Sep 2016, 17:40
by Hirazi Blue
For those of you, wanting to install Kraken after this alternative PyQtForSoftimage and PySide install: look here...

Re: PyQtForSoftimage for Windows 10

Posted: 13 Sep 2016, 01:23
by FXDude
Thanks Hirazi for first flagging and then following-up on this!

Re: PyQtForSoftimage for Windows 10

Posted: 15 Sep 2016, 08:30
by Firebird
Thanks for that Hirazi Blue
Already gave up on this and therefore also on Kraken.

But sadly I´m getting
" PySide-1.2.4-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform."
When I run the "pip install --upgrade PySide-1.2.4-cp27-cp27m-win_amd64.whl" command.

Windows 10 x64 :(( :-o
For a second I had hope :D

Re: PyQtForSoftimage for Windows 10

Posted: 15 Sep 2016, 08:50
by Hirazi Blue
Do you have the correct Python (2.7.11) installed?
Sadly Ï am no expert where Python is concerned.
One thing I just read while googling your error is to specify the full path of the whl file...
But somehow I think that shouldn't make the difference..
Sorry I can't be more helpful...

Re: PyQtForSoftimage for Windows 10

Posted: 15 Sep 2016, 09:15
by Firebird
Installed everything step by step with from the first post.
I have no Idea why its failing.
It seems like its saying that my windows is not the right platform.
All I know is that from time to time a program will see my install as windows 8 instead of 10 even if 8 was never on that system. :-??
Even thou after W10 upgrade I did a reset and fresh install.
Well always a road block ahead. :((

Re: PyQtForSoftimage for Windows 10

Posted: 15 Sep 2016, 09:26
by Hirazi Blue
One more thing to try: open an elevated command prompt ("as Administrator")
and run the pip-command again.
:-?

Re: PyQtForSoftimage for Windows 10

Posted: 15 Sep 2016, 10:57
by Firebird
Sadly same error. :-s

Re: PyQtForSoftimage for Windows 10

Posted: 15 Sep 2016, 11:54
by Hirazi Blue
Just did a follow-up on this with Firebird per PM. He was able to solve it by first upgrading his "pip" installation, using "pip install --upgrade pip"... ;)

Re: PyQtForSoftimage for Windows 10

Posted: 20 Sep 2016, 22:18
by druitre
Oh, thanks Hirazi! I just gave up on installing PyQT last week after a dozen or more failed attempts. You are here just in time :)