Import error

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!
Post Reply
fyxa
Posts: 47
Joined: Fri Oct 03, 2008 6:15 pm

Import error

Post 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.
User avatar
Chacal
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
MOULa KI#: 0
Location: Quebec, Canada

Re: Import error

Post by Chacal »

You have to install yaml.
See the installation instructions in the wiki.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: Import error

Post by diafero »

You need to install all the Python additions, namely PyYAML and PIL, for Python 2.5.
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
fyxa
Posts: 47
Joined: Fri Oct 03, 2008 6:15 pm

Re: Import error

Post by fyxa »

:oops: :oops: :oops:

Whoops, thank you!
Simone
Posts: 15
Joined: Thu Mar 11, 2010 12:57 am

Re: Import error

Post 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?
Simone - KI#1001138
a.k.a. Morningstar
diafero
Deep Island Admin
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
MOULa KI#: 0
Location: Germany

Re: Import error

Post 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?
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
Simone
Posts: 15
Joined: Thu Mar 11, 2010 12:57 am

Re: Import error

Post 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! :-)
Simone - KI#1001138
a.k.a. Morningstar
Post Reply

Return to “Building”