First off, I do not know python. I think that's why I am having a problem. I am trying to build compiz from source but am stuck at building the simple-ccsm. The setup of simple-ccsm is using python and a setup.py. While installing, it complains :
Package compiz was not found in the pkg-config search path.
Perhaps you should add the directory containing 'compiz.pc'
to the PKG_CONFIG_PATH environment variable
No package 'compiz' was found
Now, the PKG_CONFIG_PATH does point to the correct folder. What's more, pkg-config can also find compiz correctly:
pkg-config --libs compiz
It does install simple-ccsm but, when I run it, simple-ccsm fails complaining
ImportError: No module named compizconfig
I have installed all the required dependencies for simple-ccsm ( including compizconfig-python bindings which seems to give the above error generelly) So, I would like to ask the python experts, how do I guide python to look in the correct place. I am guessing it's somehow not looking in the correct directory.
To guide Python to the right place, you may need to tinker with PYTHONPATH: (Editing because link is broken).
To set the variable, either specify it when you run your python script:
PYTHONPATH=/blah/whatever/ python somescript.py somecommandOr export it to your Bash environment:
export PYTHONPATH=/blah/whatever/