I am not familiar with Python and that's why I would like to ask this question.
I am trying to setup Plone CMS with windowsauthplugin on CentOS 7. I have already installed kerberos rpms for python (python-krbV) and ran buildout. The plone daemon fails to load kerberos module. From the modules source:
...
else:
import kerberos
from kerberos import GSSError
The error I'm getting:
ImportError: No module named kerberos
When I try to import kerberos module in my Hello world python script on the same machine, no error occures. Is there a way to set an env variable to tell plone where to look for modules? Or what is the proper way to solve this problem?
You probably have a Python interpreter that was built specifically for your Plone instance. Our installer does that automatically if it can't find a suitable Python for a given Plone version.
To fix it, add "kerberos" to the list of eggs contained in your buildout.cfg. Then rerun buildout.