RE: installing python
| Date : Wed, 1 Jun 2005 09:03:25 -0400 |
| To : <XSI(at)Softimage.COM> |
| From : "Jerry Gamache" <jerryg(at)Softimage.COM> |
| Subject : RE: installing python |
Try
xsibatch -script foo.py -lang Python
With a very simple foo.py like:
Application.LogMessage("Hello!")
There is some supplemental output that often helps find out why Python
failed to start.
-----Original Message-----OK, and the pywin32 is of course for the right python version (Mark Hammond, the author, recently added a version for Python 2.5...).
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf Of Aloys Baillet
Posted At: Wednesday, June 01, 2005 2:29 AM
Posted To: xsi
Conversation: installing python
Subject: Re: installing python
If it's the case, sorry I don't have any idea except desinstalling python/pywin32 and xsi...
Good luck!
On 6/1/05, Bradley R. Gabe <brad(at)cg-soup.com> wrote:Python 2.4
pywin32-204
No, it should work right away...
That's wierd!
What version of Python and pywin32 do you use?
On 6/1/05, Bradley R. Gabe <brad(at)cg-soup.com> wrote:
- I followed these instructions and the command shell says it's registered. However, XSI doesn't show Python as one of the optional languages in the script editor.
- Should it be there by default, or do I have to switch on an environment variable or add a line somewhere to the startup bats?
- -Brad
- Hi Kim,
- If my memory is good:
- C:\Python24\Lib\site-packages\win32comext\axscript\client\pyscript.py -register
- should do what you want...
- Cheers!
- Aloys
- On 6/1/05, kim aldis <kim(at)aldis.org.uk> wrote:
- the last couple of times I installed python xsi recognised the install immediately after I installed the pywin32 modules but this time it didn't. There was a batch file to run but I've mislaid it or can't find it. Can anyone remember for me?
- cheers.
- kim(at)cg-soup.com
--
Aloys Baillet - Character TD (at) Animal Logic
--
Aloys Baillet - Character TD (at) Animal Logic
--
Aloys Baillet - Character TD (at) Animal Logic
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Re: Scripting help - PathCns
- Next by Date: Re: Scripting help - PathCns
- Previous by Thread: Re: Scripting help - PathCns
- Next by Thread: Re: Scripting help - PathCns
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |