When I configure –with-python, I get error messages saying, “warning: Not importing directory site: missing __init__.py”. How do I fix this?
This error message happens if you are running Python >= 2.5, and the PYTHONPATH environment variable includes the current working directory. (Python is attempting to treat the site directory in the SiLK source tree as a Python module directory.) Examples of PYTHONPATH values that can cause this error are any path beginning or ending with a colon (‘:’), and any path including a period (‘.’) as an element. The solution to this problem is to either unset the PYTHONPATH before running configure, or to ensure that all references to the current working directory are removed from PYTHONPATH before running configure.