Yaml not recognized

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Yaml not recognized

Postby Dragonwing » Fri Jul 24, 2009 8:37 pm

After following these instructions, I got Blender and PyPRP all installed and set up. Upon attempting to create a new book ( Scripts->Add->PyPRP->New Book ), Blender gives me this error:

ImportError: no module named yaml

I ran the yaml installer at least 3 times, rebooted once, and I still get this error.

Not quite sure what to make of it.
Dragonwing
 
Posts: 9
Joined: Fri Jul 24, 2009 7:54 pm

Re: Yaml not recognized

Postby D'Lanor » Fri Jul 24, 2009 9:32 pm

Make sure you have Blender 2.49 compiled with Python 2.5 installed. If you installed Blender 2.49a it uses Python 2.6.

While it may be possible to use the latest Blender version 2.49a with PyPRP (I have not tried it myself) it will be harder to install because you'll have to locate Python 2.6 compatible libraries yourself (if any). There are several forum topics about failed PyPRP installations in combination with Blender 2.49a so at this point 2.49 should remain the recommended version. I have edited the wiki accordingly.
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
D'Lanor
 
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Yaml not recognized

Postby Dragonwing » Fri Jul 24, 2009 9:45 pm

Thanks D'Lanor - I was just on Cyan Chat and Paradox offered a solution for Blender 2.49a.

Basically just install Yaml and PIL for python 2.6 and you're good to go. The different versions of the libs can be found on the download pages:
PyYAML
PIL

Create New Book works now!

Thanks Paradox!
Dragonwing
 
Posts: 9
Joined: Fri Jul 24, 2009 7:54 pm

Re: Yaml not recognized

Postby Christian Walther » Sun Jul 26, 2009 6:41 am

D'Lanor wrote:Make sure you have Blender 2.49 compiled with Python 2.5 installed. If you installed Blender 2.49a it uses Python 2.6.

It should also be noted that this is not a strict requirement - it's just what the official Windows builds of Blender 2.49a do. For example, the official Mac OS builds use Python 2.5 or 2.3. Possibly you'd find a Windows build that uses Python 2.5 somewhere too.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland


Return to Building

Who is online

Users browsing this forum: No registered users and 6 guests