Re: barman binary not working properly

From: neeraj tonu <tonuneeraj(at)gmail(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: barman binary not working properly
Date: 2015-06-10 10:36:05
Message-ID: CAN1rmF9yabH0YaDBOFJ7qnziEen8T=u_NKnQH9rt3QtrXKmhug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Devrim,
Thanks for your guidance , I installed python-argparse through yum.

After installing python-argparse also, it is not working properly
Can u guide me clearly.

Regards
Neeraj

On Tue, Jun 9, 2015 at 8:11 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
> Hi,
>
> You need to install python-argparse .
>
> Regards, Devrim
>
>
> On June 8, 2015 3:38:10 PM GMT+03:00, neeraj tonu <tonuneeraj(at)gmail(dot)com>
> wrote:
>>
>> Hi All,
>>
>> I am trying to perform Backup & Recovery using bakup & Recovery
>> Manager tool barman
>> As barman is python based, I installed the python package
>>
>> Later I installed 'Barman' by below commands,
>> ./setup.py build
>> ./setup.py install
>> ./setup.py install --user
>>
>> Once after barman installation is completed I am trying to see the
>> help of barman, for which I am getting the below error
>>
>> -bash-4.1$ barman --help
>> Traceback (most recent call last):
>> File "/usr/bin/barman", line 4, in <module>
>> import pkg_resources
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655,
>> in <module>
>> working_set.require(__requires__)
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in
>> require
>> needed = self.resolve(parse_requirements(requirements))
>> File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in
>> resolve
>> raise DistributionNotFound(req)
>> pkg_resources.DistributionNotFound: argparse
>>
>> Can anyone guide where I am doing the mistake.
>>
>>
>>
>> Thanks & Regards
>> Neeraj
>>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2015-06-10 13:00:59 Re: barman binary not working properly
Previous Message Wei Shan 2015-06-10 06:56:47 Re: replication consistency checking