| From: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
|---|---|
| To: | neeraj tonu <tonuneeraj(at)gmail(dot)com>,pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: barman binary not working properly |
| Date: | 2015-06-09 02:41:46 |
| Message-ID: | EB86999A-DCB6-436A-8868-AED94B832D3D@gunduz.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
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 via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-admin
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Wei Shan | 2015-06-09 04:06:01 | Re: replication consistency checking |
| Previous Message | Jan Lentfer | 2015-06-08 14:22:56 | Re: cache Memory of server |