Python Scripting Engine Missing

Discussions concerning programming of SOFTIMAGE©
Post Reply
User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: Python Scripting Engine Missing

Post by xsisupport » 18 Oct 2011, 12:00

anclib wrote:I'm having a similar problem, I wanted to add a library to the python within Softimage 2012sap on Windows 7 64bit, so to add serial coms, but don't seem to be able to achieve it.
I have tried to get Soft to use an external version of python, did not work.
The external Python 3.2 updated the library no problem
I have tried changing registry key to redirect the install, but the update crashes for some strange reason and does not install the library.
I thought I may be a stupid permissions thing (windows 7 system is infuriating)so fiddled about with the folders, did not work.

why does Softimage give you the option of using an external editor if it's not possible?
Why can't I manually add libraries to python?

Surly somebody out there knows how to fix this.
What Python library are you trying to add?
Is it pyserial 2.5?

If so, there is no 64-bit version of that library (I see only 32-bit at http://pypi.python.org/pypi/pyserial).

So, you'll need to install 32-bit Softimage.
Then install the 2.x version of pyserial (Softimage does not support Python 3.x).

Since you are running on a 64-bit system, the 32-bit Python registry key will be under the Wow6432Node:
HKLM\Software\Wow6432Node\Python\PythonCore

UPDATE: Also, Softimage doesn't "revert" to the internal version. If you set the preference to use the version of Python installed on the system, you'll either get that Python, no Python, or an error. At least that is what I've seen on my own system.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

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

Re: Python Scripting Engine Missing

Post by Hirazi Blue » 18 Oct 2011, 12:17

xsisupport wrote:Is it pyserial 2.5?

If so, there is no 64-bit version of that library (I see only 32-bit at http://pypi.python.org/pypi/pyserial).
Not necessarily: I found this entry at the Unofficial Windows Binaries for Python Extension Packages
;)
Stay safe, sane & healthy!

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: Python Scripting Engine Missing

Post by xsisupport » 18 Oct 2011, 12:24

Hirazi Blue wrote:
xsisupport wrote:Is it pyserial 2.5?

If so, there is no 64-bit version of that library (I see only 32-bit at http://pypi.python.org/pypi/pyserial).
Not necessarily: I found this entry at the Unofficial Windows Binaries for Python Extension Packages
;)
Cool.

Someone logged a support case specifically referencing http://pypi.python.org/pypi/pyserial as the module they were trying to install, so I went with that.
It would explain problems getting the module into 64-bit Softimage.

I didn't try the 64-bit prerelease version you found, but I would expect you'd be able to get that into 64-bit Softimage.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

User avatar
rray
Moderator
Posts: 1774
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: Python Scripting Engine Missing

Post by rray » 27 Oct 2011, 17:39

For completeness & reference 8-x ...

I'm using "Python Installed with Softimage", and just had it disappear after uninstalling an older version of Softimage.

"runonce.bat" fixed that.
softimage resources section updated Jan 5th 2024

Post Reply

Who is online

Users browsing this forum: SiteExplorer [Bot] and 20 guests