povanim under linux

hullo :slight_smile:

i tried it at school under windows, but i could not really install python, so ii want to use it at home - under my debian :wink:
python is the actual testing version installed …

on the povanim page is written, that i dont have to make any changes in the script. so i just copied povanim226_11.pyo in the same directory, where my the *.blend-file, that i wanna export is …
when i start it by alt+p, i get the following error:

File "lanc_povanim226_11.py", line 49, in ?
ImportError: No module named povanim226_11

sry, but i cant find the error message in this board and at blend.polis none could help … and the povanim page is for me really slow - i searched, but havent succeded yet …

thank u,
qiv

hi,

if you use the current povanim226_14 or povanim225i_07, you only needs the blender 's python.dll, not the complete python. (this dll contains all builtins modules)

so ii want to use it at home - under my debian :wink:
python is the actual testing version installed …

on the povanim page is written, that i dont have to make any changes in the script. so i just copied povanim226_11.pyo in the same directory, where my the *.blend-file, that i wanna export is …
when i start it by alt+p, i get the following error:

File "lanc_povanim226_11.py", line 49, in ?
ImportError: No module named povanim226_11

That is right. I just did it under mdk9.0 and static blender2.26.
The script can run but you have to do alt-p twice.

There is nothing about this problem in the povanim page but as it seems to appear on linux and win nt (xp ?) a note will soon be added to the FAQ.

Try to see this page for a very short overview of main tools :
http://marief.soler.free.fr/Monsite/povanim_quickref.htm

hum, at school hit alt+p twice worked, now at home, i didnt yet arrive …

Try renaming povanim226_11.pyo file to povanim226_11.pyc

The “pyc” extension worked with Blender 2.23… the povanim226/225 contains calls to Blender python API 2.25 which are not understand by the Blender python API 2.23…

Two things can be done:

  • control the Blender version
  • save blender file before using the script.

i use blender 226 and saving the scene with the script open didnt help …

Another option: try to put the povanim226_14.pyo in the same directory as the blender executable file …

hum, you means, into /usr/bin?
i heard, that blender has his own bin, under linux - but i couldnt find it yet …

my blender is in << /home/jms/3d/blender-nianiania-static-226/blender>>
it works…
the file is in :
<< /home/jms/mydocuments >>
it works…

i found a file called “blender” in /usr/bin - copying pov*-.pyo to that dir didnt help … i tried even starting it twice :wink:

You can also try to download and install the blender static version in
you own /home/3d/directory. It works for me.

i tried other scripts, and none could import python modules - not even the standard ones, like math, who r not part of scripts.

so i think, its a problem of python pathes … should i configure some pathes in blender?
cause the tooltip of python is just “the dir wheere scripts normaly are” maybe i should write there the path to python?
or add something to python?

i ve had just aanother idea … maybe i should install some more python packages, like the developerpkg … should i install python 2.2 or 2.3? i am using 2.1 at the moment …

A solution…Perhaps.
Blender2.26/2.27 is compiled with python 2.2.

no module math ? You are right to install the python developerpkg.
2.2, if you can.
But Povanim should be found, even with a short python version.

tank u, it works :wink:
just installing the devpkgs was enough… with them automatically python 2.2 is installed and now it works …

Great.

:slight_smile:

http://kamarian.sprintweb.de/phpBB2/download.php?id=166

:smiley:

A new povray monkey.
:wink:

Just a word : the old povanim226_14 has a bug in the
speedy material export system (and a also one in the
old too but not the same). Just for the bumpmapping.
The newest is corrected in the new povanim226_14g :
http://jmsoler.free.fr/util/blenderfile/pypovanim226_14.zip

So all that trouble was worth it in the end!

%<