Page 1 of 3

Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 1:22 pm
by Jamey
Hi all,

I just installed Blender 2.49 the other day and I tried to add a Logic region to my age and got this error in the command prompt:
Code: Select all
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AddBook
.py", line 51, in <module>
    from prp_ResManager import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 34, in <module>
    from prp_SpecialObjs import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Special
Objs.py", line 30, in <module>
    from prp_AlcScript import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AlcScri
pt.py", line 24, in <module>
    import yaml
ImportError: No module named yaml
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AddBook
.py", line 51, in <module>
    from prp_ResManager import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 34, in <module>
    from prp_SpecialObjs import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Special
Objs.py", line 30, in <module>
    from prp_AlcScript import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AlcScri
pt.py", line 24, in <module>
    import yaml
ImportError: No module named yaml


I tried adding a footstep region, same thing. :?

Anyone know what may be wrong?

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 1:47 pm
by Christian Walther
Apparently you haven't installed PyYAML into your Python 2.6.2 installation yet. Probably you used Python 2.5 with your previous Blender version and all the prerequisites for PyPRP are installed there.

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 1:58 pm
by Jamey
OK, I went and installed PyYAML here:

http://pyyaml.org/wiki/PyYAML

The good news is that error went away, the bad news is, I got another one :?
Code: Select all
Compiled with Python version 2.6.2.
Checking for installed Python... got it!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
WARNING: Python Crypto Toolkit not found!, support for Myst 5 files is disabled!
!
C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_Functions.py:31
: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import random, md5,math, binascii, struct
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AddBook
.py", line 51, in <module>
    from prp_ResManager import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_ResMana
ger.py", line 35, in <module>
    from prp_File import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_File.py
", line 20, in <module>
    from prp_AnimClasses import *
  File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\prp_AnimCla
sses.py", line 30, in <module>
    import md5, random, binascii, cStringIO, copy, Image, math, struct, StringIO
, os, os.path, pickle
ImportError: No module named Image


Did I do something wrong?

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 4:37 pm
by tachzusamm
I think D'Lanor made a comment regarding this problem here:
viewtopic.php?p=33360#p33360

so there are some more tools (?) you have to take care about.
(PIL, Crypto - any I don't know what else)

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 4:58 pm
by Jamey
Ok, I did get PIL installed successfully, but when I tried to install Crypto, it installed it for Python 2.5....when I have 2.6 :?


Is there a Crypto toolkit released for the latest version of Python 2.6?

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 5:17 pm
by tachzusamm
You need Python 2.6.2 for Blender 2.49a, not for Blender 2.49.
EDIT: Whoops - your post changed while I was typing mine. :D

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Thu Jul 02, 2009 5:21 pm
by Jamey
lol, I tend to work pretty fast :P

But yeah, I need a version of Crypto Toolkit for Python 2.6.2 and then it should work (I hope :roll: )

Does anyone know where (and if) I can get this?

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Fri Jul 03, 2009 5:49 am
by D'Lanor
Houston, we have a problem. :( There does not seem to be a Crypto Toolkit for Python 2.6. Can you force it to install under Python 2.6.2 and see if that works?

If not then I am afraid we are stuck with Blender versions < 2.49a.


Edit: Jamey, from the topic header it is still not clear which Blender version you are using. As tachzusamm said: Blender 2.49 uses Python 2.5, Blender 2.49a uses Python 2.6. So if you have 2.49a you probably need to downgrade to 2.49.

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Fri Jul 03, 2009 11:36 am
by Christian Walther
Are you sure you need Python Crypto Toolkit? The warnings in your output seem to indicate otherwise.

Re: Did Blender 2.49 break the PyPRP scripts???

PostPosted: Fri Jul 03, 2009 11:54 am
by D'Lanor
It is currently used by PyPRP to generate sum files.