Dear fellows, ranger can't run if it can't find the "ranger" python module. It must be in one of the PYTHONPATH directories. On my install, ranger was installed to /usr/share/pyshared which is not in PYTHONPATH so ranger will not find it. It ought to be put at /usr/lib/pythonX/dist-packages/ instead with X being your python version.
To fix this, create a link from the place ranger was installed to some place in your PYTHONPATH, for example: ln -s /usr/share/pyshared/ranger /usr/lib/python2.7/dist-packages/ranger To determine where ranger was installed, run: dpkg --listfiles ranger | grep fm.py | grep -o .\*ranger To determine where you can put ranger so it works, run: python -c 'import sys; print("\n".join(sys.path))' I noticed this additional bug: Traceback (most recent call last): File "/usr/bin/ranger", line 59, in <module> sys.exit(ranger.main()) File "/usr/lib/python2.7/dist-packages/ranger/core/main.py", line 29, in main from ranger.core.fm import FM File "/usr/lib/python2.7/dist-packages/ranger/core/fm.py", line 30, in <module> from ranger.gui.defaultui import DefaultUI ImportError: No module named gui.defaultui This is caused due to removal of the empty file "ranger/gui/__init__.py", which is required for python to recognize that this directory is a python module. If this occurs for you, run: touch /usr/lib/python2.7/dist-packages/ranger/gui/__init__.py (replace /usr/lib/python2.7/dist-packages/ with whatever directory ranger was installed to.) Raphael Plasson wrote: > I however do not know where the incompatibility is coming from... ranger is usually installed for one particular python version (although being compatible with all python versions since 2.6) because Python 2.7 does NOT look for modules in /usr/lib/python2.6. As a result, you need to reinstall ranger when you update python. Regards, Roman -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org