barman binary not working properly

From: neeraj tonu <tonuneeraj(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: barman binary not working properly
Date: 2015-06-08 12:38:10
Message-ID: CAN1rmF8xcsK3hSWCFw4dkzozBf_3rcH+SXrSZomLgEv4Sz5g4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message AL-Temimi, Muthana 2015-06-08 13:23:49 cache Memory
Previous Message Craig James 2015-06-07 04:25:51 Re: Decreasing the data loss after failover