Installing Bahmni 0.91 on CentOS 6.9 and 6.7 error at ''bahmni-installer-0.91-89.noarch.rpm"

I downloaded “CentOS-6.9-x86_64-LiveDVD and 6.7” and installed on my server, as usual, I tried installing Bahmni version 0.91 but i’'m getting error (see below) installing

 yum install 


 Traceback (most recent call last):
  File "/usr/bin/bahmni", line 9, in <module>
    load_entry_point('bahmni==0.1', 'console_scripts', 'bahmni')()
  File "/usr/lib/python2.6/site-packages/", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.6/site-packages/bahmni-0.1-py2.6.egg/", line 1, in <module>
    import click
  File "/usr/lib/python2.6/site-packages/click-7.1.1-py2.6.egg/click/", line 7, in <module>
    from .core import Argument
  File "/usr/lib/python2.6/site-packages/click-7.1.1-py2.6.egg/click/", line 21, in <module>
    from .formatting import HelpFormatter
  File "/usr/lib/python2.6/site-packages/click-7.1.1-py2.6.egg/click/", line 4, in <module>
    from .parser import split_opt
  File "/usr/lib/python2.6/site-packages/click-7.1.1-py2.6.egg/click/", line 228
    self._opt_prefixes = {"-", "--"}
SyntaxError: invalid syntax

I have posted an update to the installation procedure of Bahmni 0.91 on Bahmni Wiki. Click CLI 7.0, a python module, is now a prerequisite for Bahmni 0.91 on a fresh installation.


1 Like