No Python?!

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Revolutionpetax
Posts: 3
Joined: Wed Feb 28, 2007 10:17 pm

No Python?!

Postby Revolutionpetax » Wed Feb 28, 2007 10:24 pm

No Python?!

Good day,

I have what I assume must be the most asked question yet: When I start Blender, I get this message in the console:

Compiled with Python 2.4
'import site' failed: use v for traceback
Checking for installed Python...no Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
-------------------------------------------------
Look, I know how to use Python, and I thought it was integrated in the package. Apparantly not.
Can somebody please help me with this.

Have a nice day.

ad infinitum.

Revolutionpetax

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Wed Feb 28, 2007 11:28 pm

Compiled with Python 2.4


A Python interpreter *is* built into Blender - Python version 2.4 in your case.

This is not a full installation of Python, only the modules from __builtin__ are suppled. We look for the rest on your computer.

If you want access to all of Python's features, install version 2.4 from www.python.org.

Revolutionpetax
Posts: 3
Joined: Wed Feb 28, 2007 10:17 pm

Postby Revolutionpetax » Thu Mar 01, 2007 5:22 pm

stiv wrote:
Compiled with Python 2.4


A Python interpreter *is* built into Blender - Python version 2.4 in your case.

This is not a full installation of Python, only the modules from __builtin__ are suppled. We look for the rest on your computer.

If you want access to all of Python's features, install version 2.4 from www.python.org.

Now, I have downloaded and installed Python Version 2.5, but I still get the same message in the console in Blender. Do I have to assign any files etc. to be able to use Python in Blender?

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Thu Mar 01, 2007 6:02 pm

Now, I have downloaded and installed Python Version 2.5...Do I have to assign any files etc. to be able to use Python in Blender?

Nope, just need to read and follow instructions.:

If you want access to all of Python's features, install version 2.4

Revolutionpetax
Posts: 3
Joined: Wed Feb 28, 2007 10:17 pm

Postby Revolutionpetax » Tue Mar 06, 2007 12:32 pm

It still does not runt. All I get is "iconv error" in the console for almost everything I do. Do I need version 2.4 of Python, or can I use the one I have now (2.5) for the latest build of Blender?
Please, somebody help me.

Relayer
Posts: 4
Joined: Thu Mar 01, 2007 9:39 am

Postby Relayer » Wed Mar 07, 2007 12:56 pm

You need 2.4 (not 2.5) I installed 2.4.4 and blender finds it just fine.

Hombre
Posts: 26
Joined: Sun Sep 24, 2006 1:04 am
Location: Nancy - FRANCE

Postby Hombre » Thu Mar 15, 2007 3:13 pm

Relayer wrote:You need 2.4 (not 2.5) I installed 2.4.4 and blender finds it just fine.


From the latest Python 2.4.4 NEWS text file :

- The iconv module has been removed from this release.


It seems that's why we get "iconv error". I should'nt have updated python :-( Does someone have an not too old 2.4 Python version (*.msi) ?

jesterKing
Site Admin
Posts: 1848
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Postby jesterKing » Wed Mar 21, 2007 11:55 am

Hombre wrote:Does someone have an not too old 2.4 Python version (*.msi) ?


http://www.python.org/download/

/Nathan

fhzaki
Posts: 3
Joined: Wed Jun 06, 2007 11:06 am
Location: Malaysia

Postby fhzaki » Thu Jun 07, 2007 10:45 am

Relayer wrote:You need 2.4 (not 2.5) I installed 2.4.4 and blender finds it just fine.


Hi, Sorry if i'm wrong.

Blender 2.44 + python 2.51

Compiled with Python version 2.5.
Checking for installed Python... got it!

============================

Blender 2.44 + python 2.44
Still error (Forgot to copy the error).
Hi, I'm Zaki from Malaysia, nice to meet u and i wish i can ANIMATE!!!...


Return to “Python”

Who is online

Users browsing this forum: No registered users and 2 guests