Scripts not working...

I’m having trouble getting some of the pyhton scripts to run in Blender 2.41

I HAVE NOT set a pythonpath on my system, is that the problem?

And a noob question, what is the the pythonpath for? I always get this message when I open Blender -

‘import site’ failed; use -v for traceback

Is it because the pythonpath is not set?

Please help, my head is going to explode!!!? I’m no programmer, I know enough to get along, but this stuff is making me feel like a complete retard!!

Any and all help is appreciated!! %|

unfortunately there were some last minute errors on some scripts - bevel_face, and one of the importers

which scripts are you having problems with?

LetterRip

Most notably I’m trying to work with World Forge. It doesn’t work, it says theres a script error.

Then again I just checked in my Environment Variables and it doesn’t look like I have python installed because there is no path set for it!?

I just downloaded Python ver 2.4.2, but I’m not going to intall it unless someone tells me I need to.

I guess that’s the main question here, do I need it?

CoNfUSeD!? :o

PS Know where I can get a copy of the sun sky plugin?

Plus there’s still this…

‘import site’ failed; use -v for traceback

I still don’t know what that means…

Damn I’m dumb… :expressionless:

it means you don’t have python installed, some external scripts require a full python install, I think Blender World Forge is one of them…

LetterRip

Thanx dude.

I’ll do an install and set the path hopefully that will work, if it doesn’t I’m sure I’ll come back here to whine. j/k :stuck_out_tongue:

Appreciate the help.

i don’t want to make any trouble, but i think, blender uses its own internal python virtual machine (a 2.3 version by the way). If this is true, you should not need to install any thing else…

sorry if i am wrong… :slight_smile:


but you can quickly try:

import sys
_myLocalDir = ‘/local/path/to/your/scripts’
try:
sys.path.index(_myLocalDir)
except ValueError:
sys.path.append(_myLocalDir)

you are right and wrong :slight_smile:

Blender has a built in python interpreter, but it is a subset of a full python install. Some scripts require a full python install to work.

LetterRIp

thanks for this precision :slight_smile:

Installed Python ver2.4 and everything is working fine.

Can someone direct me to the best python tutorials (beginners stuff) -
I need to learn this.

Thanx again
Trager

Read dive into python

http://diveintopython.org/

LetterRip

Again with the save…

Hats off
LetterRip!!!