How to get scripts working?

This question may sound noobish for you but I realy need some help.
I’ve downloaded MD3 import/export scripts from
http://xreal.sourceforge.net/xrealwiki/BlenderExportMD3
It says “Just copy all those scripts to your Blender scripts/ folder and they should work using the menu.” so i did copy them into .blender/Scripts. I turned on Blender and tried to export that simple cube and I got following error

Traceback (most recent call last):
File “<string>”, line 39, in ?
ImportError: No module named textwrap

I thought that maybe I need Python installed on my PC so I downloaded it from
http://www.python.org/ftp/python/2.5/python-2.5.msi
and installed.

I reoppened Blender but console still says:

Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.

So, What do I have to do to make those scripts working?!:confused:

you could request textwrap dependancy be removed, its probably just for pretty text formatting

I’ve found file “textwrap.py” in python files and copied it into blender scripts folder. It helped with

Traceback (most recent call last):
File “<string>”, line 39, in ?
ImportError: No module named textwrap
error but now I do have another :

Traceback (most recent call last):
File “<string>”, line 41, in ?
ImportError: No module named logging
I can’t find file “logging.py”. What to do?

i am very new to blender and scripts… but here is what i did to get my scripts working… i installed the python as you did… but i had to direct my blender to the proper location for that python… check out this thread.

http://blenderartists.org/forum/showthread.php?t=7412

see if that helps… after i fallowed that (read the whole thread) i was able to get my scripts working.

thanks mate :cool:
blender still says

Compiled with Python version 2.4.
‘import site’ failed; use -v for traceback
Checking for installed Python… No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
even after I made that PYTHONPATH thing but scripts works.
Once again, I love You :RocknRoll:

hi, strange no one bothered to pick this up, but for starters, if Blender is compiled with Python 2.4 then you need to install Python 2.4 not 2.5, then the traceback error will vanish.
It may also help with the errors in the script as the function calls won’t work with PY. 2.5 only the version of Python Blender was compiled with. Install Python 2.4, no need on windows to set file paths (Blender finds Python Automatically) , just install & see how you go.
Hope this helps.
M.A.

Good call Meta, works just like you said :slight_smile:

i have heard that if you start being a python programer you will no more be interested in 3d…well i dont beleive it …
i know it wont help but just an advise.