Page 1 of 1

No module named ceed

Posted: Sun Dec 22, 2013 13:49
by paul424
After building and launching CEED my joy hasn't last long :((( .
After one app crash ( should it matter ?! >_> ) Now I get

Code: Select all

ImportError: No module named ceed

Tough everything is set as before ... >_>

Re: No module named ceed

Posted: Sun Dec 22, 2013 14:16
by paul424
MY_OWN_ANSWER:

In PYTHON language there is no explicit module keyword or construct, instead every file with .py or directory with __init__.py is a module.
Such file is at ceed/ceed/__init__.py

So one has to add it to $PYTHONPATH var.
So far I have ended with such bash command :

Code: Select all

export PYTHONPATH=/home/tom/tmp_build/cegui/build/lib/:/home/tom/tmp_build/ceed/bin/:/home/tom/tmp_build/ceed/