Sorry. Should have been python3-pkg-resources. Haven't had my coffee yet.
November 27 2015 9:41 AM, "Max Kellermann" <m...@duempel.org> wrote:
> On 2015/11/27 09:34, Lennart Weller <lenn...@lennartweller.de> wrote:
>
>> Could you try reinstalling pkg-ressources?
>> sudo apt-get install --reinstall python-pkg-resources
>>
>> The line from your stacktrace is not in the source code of pgcli.
>
> Problem persists.
>
> # apt-get install --reinstall python-pkg-resources
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not
> upgraded.
> Need to get 0 B/99.4 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> (Reading database ... 353573 files and directories currently
> installed.)
> Preparing to unpack .../python-pkg-resources_18.4-2_all.deb ...
> Unpacking python-pkg-resources (18.4-2) over (18.4-2) ...
> Setting up python-pkg-resources (18.4-2) ...
>
> # pgcli
> Traceback (most recent call last):
> File "/usr/bin/pgcli", line 5, in <module>
> from pkg_resources import load_entry_point
> ImportError: No module named 'pkg_resources'