Dear Sunita,
Sunita Barve wrote:
On fresh installation of invenio 0.99.1 on Ubuntu 9.10 the following
error occurs. With python 2.6 it does not build
True, Invenio 0.99.1 is/was not compatible with Python 2.6 (which was
not released at that time, sic!). The next release of Invenio will be
compatible.
You might even want to use Python 2.4 for Invenio 0.99.1.
[...] when we try to access the web page the following error occurs. [...]
ImportError: No module named invenio.webinterface_layout
[...] Already copied invenio python lib into
/usr/lib/python2.5/site-packages as welll as
/usr/local/lib/python2.5/site-packages
AFAIR some versions of Ubuntu have their Python packages installed in
"python2.5/dist-package/" instead of "python2.5/site-package/". You
might want to check with:
$ echo -e "import sys\nprint sys.path" | python
Note however that the recommended method instead of copying the
libraries is to simply create a link from the {dist|site}-package
directory to Invenio libraries:
$ sudo ln -s /opt/cds-invenio/lib/python/invenio \
/usr/local/lib/python2.5/dist-packages
(next release is a bit more verbose about it at installation time)
Then do not forget to restart your Apache server.
Best regards
--
Jerome Caffaro