Patroni: Error installing patroni via pip (CentOS7)

Created on 4 Aug 2018  路  2Comments  路  Source: zalando/patroni

Python 2.7, epel version of python-pip package

# pip install patroni[consul]
Collecting patroni[consul]
  Downloading https://files.pythonhosted.org/packages/38/bc/89c16d9505205ae516d99d52ee513df59771364c9b098cc0c7dc690a6309/patroni-1.4.5.tar.gz (100kB)
    100% |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 102kB 3.3MB/s
    Complete output from command python setup.py egg_info:
    error in patroni setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.

Most helpful comment

Hi @glimberg,

it seems something is wrong with setuptools on your system.
Can you please check what version of setuptools you have: python -c 'import setuptools; print(setuptools.__version__)'

After that please upgrade it to the latest version (pip install setuptools --upgrade) and try to install patroni once again.

All 2 comments

Hi @glimberg,

it seems something is wrong with setuptools on your system.
Can you please check what version of setuptools you have: python -c 'import setuptools; print(setuptools.__version__)'

After that please upgrade it to the latest version (pip install setuptools --upgrade) and try to install patroni once again.

that was it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rootqa picture rootqa  路  9Comments

mrquokka picture mrquokka  路  3Comments

alexeyklyukin picture alexeyklyukin  路  3Comments

Tekchanddagar picture Tekchanddagar  路  4Comments

phemmer picture phemmer  路  5Comments