Just a quick post here to get you out of a jam. I’ve been working with Invenio recently, and I ran into this error when working on a new server:
Error: No module named invenio.inveniocfg
It took a little while to figure out the solution, so to save you some time, I’ll show you how to fix it.
The error is probably because you don’t have Invenio in your Python path.
So, how do you fix that?
Easy: just make a symlink.
This server is a Dell PowerEdge 750 running Ubuntu 12.04, so my symlink command looks like this:
sudo ln -s /opt/invenio/lib/python/invenio/ /usr/local/lib/python2.7/dist-packages/invenio
And that’s it.