[Bf-python] Blender 2.54 Python API

Revue de Libre revuedelibre at gmail.com
Tue Oct 12 09:09:43 CEST 2010


On Tue, Oct 12, 2010 at 03:17, Marc Weber <marco-oweber at gmx.de> wrote:
>> It seems that there is a error with syntax "from .. ", based on relative
>> path between files on external module.
>>
>> Do you know how to resolve this error ?
>
> Try
> import sys
> print sys.path in both: blender and your python app.
>
> The difference will tell you what's going wrong.
>
> Marc Weber


Hello,
I already tried that : no difference ( all directory from terminal are
in blender console ).
It seems that it is not an sys.path error, because some files from
module are founded, but error occurs when syntax "from ..". ( no error
with "from ." )

Thanks a lot,

Julien



More information about the Bf-python mailing list