PyQtForSoftimage for Windows 10

Discussions concerning plugins for SOFTIMAGE©
Post Reply
User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

PyQtForSoftimage for Windows 10

Post by Hirazi Blue » 12 Sep 2016, 12:03

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”… :-?
Stay safe, sane & healthy!

jonmoore
Posts: 153
Joined: 30 Jul 2016, 18:18

Re: PyQtForSoftimage for Windows 10

Post by jonmoore » 12 Sep 2016, 12:54

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. :)

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: PyQtForSoftimage for Windows 10

Post by Hirazi Blue » 12 Sep 2016, 17:40

For those of you, wanting to install Kraken after this alternative PyQtForSoftimage and PySide install: look here...
Stay safe, sane & healthy!

User avatar
FXDude
Posts: 1129
Joined: 19 Jun 2012, 21:59

Re: PyQtForSoftimage for Windows 10

Post by FXDude » 13 Sep 2016, 01:23

Thanks Hirazi for first flagging and then following-up on this!

User avatar
Firebird
Posts: 81
Joined: 04 Jun 2009, 12:08
Location: Vienna
Contact:

Re: PyQtForSoftimage for Windows 10

Post by Firebird » 15 Sep 2016, 08:30

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

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: PyQtForSoftimage for Windows 10

Post by Hirazi Blue » 15 Sep 2016, 08:50

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...
Stay safe, sane & healthy!

User avatar
Firebird
Posts: 81
Joined: 04 Jun 2009, 12:08
Location: Vienna
Contact:

Re: PyQtForSoftimage for Windows 10

Post by Firebird » 15 Sep 2016, 09:15

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. :((

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: PyQtForSoftimage for Windows 10

Post by Hirazi Blue » 15 Sep 2016, 09:26

One more thing to try: open an elevated command prompt ("as Administrator")
and run the pip-command again.
:-?
Stay safe, sane & healthy!

User avatar
Firebird
Posts: 81
Joined: 04 Jun 2009, 12:08
Location: Vienna
Contact:

Re: PyQtForSoftimage for Windows 10

Post by Firebird » 15 Sep 2016, 10:57

Sadly same error. :-s

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: PyQtForSoftimage for Windows 10

Post by Hirazi Blue » 15 Sep 2016, 11:54

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"... ;)
Stay safe, sane & healthy!

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: PyQtForSoftimage for Windows 10

Post by druitre » 20 Sep 2016, 22:18

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 :)

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests