pyWin Version requirment

Discussions concerning programming of SOFTIMAGE©
Falam

pyWin Version requirment

Post by Falam » 16 Feb 2013, 01:21

I want to clear up a Python problem. First I'm trying to install pyWin 3.3 on my computer, I'm getting the following error; Python Version 3.3 required which was not found in the registry. I tried the following version of pyWin;pywin32-217.win32-py3.3 & pywin32-217.win-amd64-py3.3 none of them install without the above error. Tinkering with RegEdit can can major system issues, without going ahead with tinkering with anything, can I applying the following RegEdit without problems and have pyWin 3.3 install ?

I have the following installed on my system, do I need 2.6.5 installed and 2.7.3 ?

Python 2.6.5 (x64)
Python 2.7.3 (x64)
Python 2.6 pyWin32-214

luceric
Posts: 1252
Joined: 21 Jun 2009, 22:08

Re: pyWin Version requirment

Post by luceric » 16 Feb 2013, 01:28

3.3 isn't the version of pywin, it's the version of python that this build of pywin was compiled for. the current version, or build, of pywin is 218.
the instructions about which package to download are on the download page, at the bottom
http://sourceforge.net/projects/pywin32 ... ild%20218/

Falam

Re: pyWin Version requirment

Post by Falam » 16 Feb 2013, 16:26

luceric wrote:3.3 isn't the version of pywin, it's the version of python that this build of pywin was compiled for. the current version, or build, of pywin is 218.
the instructions about which package to download are on the download page, at the bottom
http://sourceforge.net/projects/pywin32 ... ild%20218/
Thanks :)

User avatar
kcsaba
Posts: 26
Joined: 01 Jun 2011, 09:42
Skype: csabakanal
Location: Budapest/Hungary

Re: pyWin Version requirment

Post by kcsaba » 08 Apr 2013, 10:24

Sorry for this noob question, but I want to clear this again.
This means you have to use the newest python (regarding your system) and the corresponding pywin. I heard, xsi doesn't support any pywin. Is it true? I had pretty much problem with gear, and Shed's poselib. In case of gear older posts link to a specific version is already quite old.
Thank you!

Here https://vimeo.com/12097088 (Mod edit: I just deleted the video as it is too old and confusing for people these days, ET) around 2.40 Eric T. said xsi supports xxxxpy2.6.
I know this video is a bit old but I can't get more info about which python and pywin version is the best for xsi 2013 today.
csk

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

Re: pyWin Version requirment

Post by xsisupport » 08 Apr 2013, 11:24

Well, the versions shipped with Softimage 2013 are documented here:
http://xsisupport.com/2012/10/17/supported-versions-of-python/
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 00:41

Re: pyWin Version requirment

Post by EricTRocks » 08 Apr 2013, 13:58

Not sure what exact version of Softimage started shipping with Python but I believe it was 2011-ish. If you are using that version and above Python comes with Softimage.

However some tools like gear require that you have Python installed externally (on the system). It depends on the tool you're using and this should be in the help docs for the plugin and give you explicit directions on how to go about installing it.

That said, Softimage does NOT support Python3.x. The most common versions used are Python 2.6x and 2.7x. If you install Python on your system you will also have to install PyWin. You have to match the version of PyWin with your python version. Once that is done you can go into your scripting preferences in Softimage and have it use the Python installed on the system rather than the one that ships with Softimage.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

User avatar
kcsaba
Posts: 26
Joined: 01 Jun 2011, 09:42
Skype: csabakanal
Location: Budapest/Hungary

Re: pyWin Version requirment

Post by kcsaba » 08 Apr 2013, 14:19

Thank you guys! Everything is clear now.
csk