Previous Thread  Next Thread

chat icon How to tell Blender where to find Python

blunderhead

Posted: Wed Oct 16, 2002 4:31 pm
Joined: 16 Oct 2002
Posts: 9
Blender: 2.3
Python: 2.2
Sys: win98
How to tell Blender where I have installed python? Right now, it doesn't seem to be able to find it.
Thanks!
Newby blunderhead
Reply with quote


skontar

Posted: Wed Oct 16, 2002 5:55 pm
Joined: 14 Oct 2002
Posts: 2
Hi!!!

Move your cursor over the top window border, untill it turns to a double side arrow. Then drag and drop the border down, to reveal the info window.

You will find a button labeled:"Python:". Hold down SHIFT and press the button with LEFT MOUSE CLICK. Now you have a red cursor on the button.
Insert there the full Path to th directory, where Python is installed.

That's it. I think this will solve your problem....


Spyros.
Reply with quote


theeth

Posted: Wed Oct 16, 2002 9:28 pm
Joined: 16 Oct 2002
Posts: 1177
don't forget to update the users default with Ctrl-U so the settings stays there permanently.

Martin
_________________
Life is what happens to you when you're busy making other plans.
- John Lennon
Reply with quote


blunderhead

Posted: Wed Oct 16, 2002 9:47 pm
Joined: 16 Oct 2002
Posts: 9
Thank you for the quick responses!

I did make an entry on the info screen and then did do a cntrl-u to save it and that all worked.

I probably just have a basic lack of knowledge in how to use python scripts with blender. I'm using Carstens book and will try some more.

As Arnold sez, "I'll be back!"

ps, this forum is great!
Reply with quote


blunderhead

Posted: Sat Oct 19, 2002 4:31 am
Joined: 16 Oct 2002
Posts: 9
I was doing something stupid earlier! I don't know what but now it's working fine. Most likely I was making syntax errors.

Thanks for all the suggestions.

Blunderhead blundering through Blender
Reply with quote


markluffel

Posted: Thu Oct 24, 2002 4:40 am
Joined: 19 Oct 2002
Posts: 13
I can't seem to have Blender find my python modules. "sys.path" has an entry for "/sw/lib/python2.2/" (fink distribution), but none of the modules will import. Any ideas why?

[edit]
It can find some modules, but not others. It will only find anything if I explicitly set my sys.path to ["/sw/lib/python2.2/"]. The python interpreter seems different in this version(2.25) than in previous ones. Imported symbols don't carry over across executions.
Reply with quote


Edgar

Posted: Fri Nov 01, 2002 3:08 am
Joined: 01 Nov 2002
Posts: 3
I have ver 2.23 of blender and python 2.2.2 I, never did any python but i found a good site on terragen to use with blender. at

http://users.skynet.be/sky33676/ter2blend1.htmlSetting the PYTHONPATH

Go the Python 2.0 folder and start IDLE (Python GUI) . Type after the prompt:

import sys
print sys.path

You will get an answer which will look similar like this:

['D:\\Python20', 'D:\\PYTHON20\\Tools\\idle', 'd:\\python20', 'd:\\python20\\dlls', 'd:\\python20\\lib', 'd:\\python20\\lib\\plat-win', 'd:\\python20\\lib\\lib-tk']

convert it like this:

delete all '
delete the [ and ]
replace all \\ with a single \
delete all spaces after the ,
replace all , with ;

My question is How do I edit this thing in the python shell
Can some body please help me!
Reply with quote


Edgar

Posted: Fri Nov 01, 2002 3:13 am
Joined: 01 Nov 2002
Posts: 3
Ups I just cheked that web address and is not the right one this is the rigt one

http://users.skynet.be/sky33676/Ter2BlendTutorial.html
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group