The nautilus Python module is only visible and useful from within Nautilus extensions, which is why you got the error "No module named nautilus". You can put the Python extensions in either "/usr/lib/nautilus/extensions-1.0/python/" (you missed the "s" on extensions) or "~/.nautilus/python-extensions/". To see debugging messages related to nautilus-python, set NAUTILUS_PYTHON_DEBUG=misc in the environment. For testing, I've been using the following command line after creating the directory /tmp/testing:
If you have the Ubuntu packages python-nautilus, python-dev, and nautilus installed, Python extensions in one of the correct locations should load. However, on Feisty and Gutsy on amd64, there's a bug that prevents the extensions from doing anything useful: <URL:https://bugs.edge.launchpad.net/ubuntu/+source/nautilus-python/+bug/145811>
The nautilus Python module is only visible and useful from within Nautilus extensions, which is why you got the error "No module named nautilus". You can put the Python extensions in either "/usr/lib/ nautilus/ extensions- 1.0/python/ " (you missed the "s" on extensions) or "~/.nautilus/ python- extensions/ ". To see debugging messages related to nautilus-python, set NAUTILUS_ PYTHON_ DEBUG=misc in the environment. For testing, I've been using the following command line after creating the directory /tmp/testing:
TMPDIR=/tmp/testing NAUTILUS_ PYTHON_ DEBUG=misc exec nautilus --no-desktop
If you have the Ubuntu packages python-nautilus, python-dev, and nautilus installed, Python extensions in one of the correct locations should load. However, on Feisty and Gutsy on amd64, there's a bug that prevents the extensions from doing anything useful: <URL:https:/ /bugs.edge. launchpad. net/ubuntu/ +source/ nautilus- python/ +bug/145811>