some program written in Python 2.7 complains that ImportError: No module named 'urlparse'. So I need to install the module, but I am not able to do it. The module does exist, it is described e.g. at https://docs.python.org/2/library/urlparse.html. However, neither apt-get install, nor pip install are able to find a module named urlparse, python-urlparse, urllib, python-urllib... -- I'm getting messages like Could not find any downloads that satisfy the requirement ... The only exception is the package python-urllib3 which probably contains the needed files but for Python 3 and installation of which did not help.
I've installed pip, not pip3 since I need the module for Python 2 (pip 1.4.1 from /usr/lib/python2.7/dist-packages (python 2.7)). My Ubuntu is Xubuntu 13.10.
Where's the problem, please? Is pip searching for the module in the right places? I don't know what locations it should search in...
pip search urlparseurlparseis part of the standard library, i.e. it is automatically installed together with Python itself. You won't be able to install il through apt, pip or easy_install.