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!

Import error

Postby fyxa » Mon Mar 01, 2010 11:07 pm

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

Re: Import error

Postby Chacal » Tue Mar 02, 2010 1:08 am

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

Re: Import error

Postby diafero » Tue Mar 02, 2010 1:17 am

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
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Import error

Postby fyxa » Tue Mar 02, 2010 7:41 am

:oops: :oops: :oops:

Whoops, thank you!
fyxa
 
Posts: 47
Joined: Fri Oct 03, 2008 6:15 pm

Re: Import error

Postby Simone » Wed Mar 17, 2010 2:08 am

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
Simone
 
Posts: 15
Joined: Thu Mar 11, 2010 12:57 am

Re: Import error

Postby diafero » Wed Mar 17, 2010 3:17 am

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
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany

Re: Import error

Postby Simone » Fri Mar 19, 2010 5:59 am

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
Simone
 
Posts: 15
Joined: Thu Mar 11, 2010 12:57 am


Return to Building

Who is online

Users browsing this forum: No registered users and 3 guests

cron