Page 1 of 1

Import error

PostPosted: Mon Mar 01, 2010 11:07 pm
by fyxa
I have been trying to import some of the ages from uru CC and rave installed a separate instalation of blender 2.45 for the job. I have tried both of the PyPRP explorers, and both come up with a python error on import "ImportError: no module named yaml". What is causing this?

Oh and btw, for this blender install, I am running python 2.5.

Re: Import error

PostPosted: Tue Mar 02, 2010 1:08 am
by Chacal
You have to install yaml.
See the installation instructions in the wiki.

Re: Import error

PostPosted: Tue Mar 02, 2010 1:17 am
by diafero
You need to install all the Python additions, namely PyYAML and PIL, for Python 2.5.

Re: Import error

PostPosted: Tue Mar 02, 2010 7:41 am
by fyxa
:oops: :oops: :oops:

Whoops, thank you!

Re: Import error

PostPosted: Wed Mar 17, 2010 2:08 am
by Simone
I get the same error of "no module named yaml" while following the Age-making tutorial, right at the beginning when I try to "Create New Book" in Blender. I have installed PyYAML for both python2.5 and python2.6, and I can import yaml without any problem if I run both versions of python directly from the shell... Does anyone know what could cause the problem?

Re: Import error

PostPosted: Wed Mar 17, 2010 3:17 am
by diafero
Can you check which Python Blender is using? If both of these installations you mention can correctly import yaml, then maybe Blender uses a 3rd one?

Re: Import error

PostPosted: Fri Mar 19, 2010 5:59 am
by Simone
diafero wrote:Can you check which Python Blender is using? If both of these installations you mention can correctly import yaml, then maybe Blender uses a 3rd one?

As far as I know, I downloaded the latest Blender for Mac OSX, which uses python 2.5; I only have 2.5 and 2.6 installed.

I might try getting the source and building it directly on my laptop, maybe it will work! :-)