i’m trying to use the makehuman http://www.dedalo-3d.com python scripts with blender but looking at console messages blender doesnt think i have python installed and is crashing when looking for model “os”. Here is the output from blender :
[[email protected] blender-2.37a-linux-glibc2.2.5-i386-static]$ ./blenderstatic Using Python version 2.3 Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback No installed Python found. Only built-in modules are available. Some scripts may not run. Continuing happily. Traceback (most recent call last): File "makeTarget.py", line 9, in ? ImportError: No module named os Traceback (most recent call last): File "makeTarget.py", line 13, in ? NameError: name 'os' is not defined Blender quit
and here is the relevant results from yum list | grep pythin to prove i have python installed.
[[email protected] blender-2.37a-linux-glibc2.2.5-i386-static]# yum list | grep python http://fr2.rpmfind.net/linux/fedora/core/4/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (113, 'No route to host')> Trying other mirror. MySQL-python.i386 1.2.0-1 installed dbus-python.i386 0.33-3 installed gnome-python2.i386 2.10.0-1 installed gnome-python2-bonobo.i386 2.10.0-1 installed gnome-python2-canvas.i386 2.10.0-1 installed gnome-python2-extras.i386 2.10.0-2.1 installed gnome-python2-gnomevfs.i386 2.10.0-1 installed gnome-python2-gtkhtml2.i386 2.10.0-2.1 installed libxml2-python.i386 2.6.19-1 installed python.i386 2.4.1-2 installed python-devel.i386 2.4.1-2 installed python-elementtree.i386 1.2.6-4 installed python-ldap.i386 2.0.6-4 installed python-sqlite.i386 1.1.6-1 installed python-urlgrabber.noarch 2.9.6-1 installed rpm-python.i386 4.4.1-21 installed
can someone help me re. pointing blender at python? is there a config script i have to change or anything? looking at the returns from blender it seems i have to set $PYTHONHOME, but this doesnt help as i dont know what <prefix> and <exec_prefix> mean. So where should i set this? I’m running fedora core 4 on an i386 arch if that helps. I would read the manual only it seems to return python-linked errors so i guess it depends on python.
sorry for being a pain. any help appreciated.