Bahmni installation Centos 6.9

Hi, I am installing bahmni in centOS 6.9

cat /etc/bahmni-installer/setup.yuml

when is hit bahmni install or bahmni -i local install

both command are giving me command not found

how reslove it

Are you getting any output for bahmni --help? You can follow: https://bahmni.atlassian.net/wiki/spaces/BAH/pages/33128505/Install+Bahmni+on+CentOS

NO , I am using this link also. Installing CentOS its giving me Error.

Giiting Error

t@mail /]# yum install https://dl.bintray.com/bahmni/rpm/rpms/bahmni-installer-0.90-308.noarch.rpm Loaded plugins: fastestmirror, security Setting up Install Process bahmni-installer-0.90-308.noarch.rpm | 565 kB 00:00 Examining /var/tmp/yum-root-GS4grO/bahmni-installer-0.90-308.noarch.rpm: bahmni-installer-0.90-308.noarch Marking /var/tmp/yum-root-GS4grO/bahmni-installer-0.90-308.noarch.rpm to be installed Loading mirror speeds from cached hostfile

Dependencies Resolved

======================================================================================================================================================================================================================== Package Arch Version Repository Size

Installing: bahmni-installer noarch 0.90-308 /bahmni-installer-0.90-308.noarch 1.2 M

Transaction Summary

Install 1 Package(s)

Total size: 1.2 M Installed size: 1.2 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : bahmni-installer-0.90-308.noarch 1/1 -------------Installing bahmni command line tool-------------- running install running bdist_egg running egg_info creating bahmni.egg-info /usr/lib/python2.6/site-packages/setuptools/command/egg_info.py:171: DeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. writer = ep.load(installer=installer) writing requirements to bahmni.egg-info/requires.txt writing bahmni.egg-info/PKG-INFO writing top-level names to bahmni.egg-info/top_level.txt writing dependency_links to bahmni.egg-info/dependency_links.txt writing entry points to bahmni.egg-info/entry_points.txt writing requirements to bahmni.egg-info/requires.txt writing bahmni.egg-info/PKG-INFO writing top-level names to bahmni.egg-info/top_level.txt writing dependency_links to bahmni.egg-info/dependency_links.txt writing entry points to bahmni.egg-info/entry_points.txt writing manifest file ‘bahmni.egg-info/SOURCES.txt’ reading manifest file ‘bahmni.egg-info/SOURCES.txt’ writing manifest file ‘bahmni.egg-info/SOURCES.txt’ installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib copying bahmni.py -> build/lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg copying build/lib/bahmni.py -> build/bdist.linux-x86_64/egg byte-compiling build/bdist.linux-x86_64/egg/bahmni.py to bahmni.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying bahmni.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying bahmni.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying bahmni.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying bahmni.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying bahmni.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying bahmni.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents… creating dist creating ‘dist/bahmni-0.1-py2.6.egg’ and adding ‘build/bdist.linux-x86_64/egg’ to it removing ‘build/bdist.linux-x86_64/egg’ (and everything under it) Processing bahmni-0.1-py2.6.egg Traceback (most recent call last): File “setup.py”, line 13, in ‘’’, File “/usr/lib64/python2.6/distutils/core.py”, line 152, in setup dist.run_commands() File “/usr/lib64/python2.6/distutils/dist.py”, line 975, in run_commands self.run_command(cmd) File “/usr/lib64/python2.6/distutils/dist.py”, line 995, in run_command cmd_obj.run() File “/usr/lib/python2.6/site-packages/setuptools/command/install.py”, line 73, in run self.do_egg_install() File “/usr/lib/python2.6/site-packages/setuptools/command/install.py”, line 101, in do_egg_install cmd.run() File “/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py”, line 236, in run self.easy_install(spec, not self.no_deps) File “/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py”, line 452, in easy_install return self.install_item(None, spec, tmpdir, deps, True) File “/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py”, line 502, in install_item dists = self.install_eggs(spec, download, tmpdir) File “/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py”, line 645, in install_eggs return [self.install_egg(dist_filename, tmpdir)] File “/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py”, line 709, in install_egg elif self.should_unzip(dist): File “/usr/lib/python2.6/site-packages/setuptools/command/easy_install.py”, line 566, in should_unzip if dist.has_metadata(‘not-zip-safe’): File “/usr/lib/python2.6/site-packages/pkg_resources/init.py”, line 1399, in has_metadata return self.egg_info and self._has(self._fn(self.egg_info, name)) File “/usr/lib/python2.6/site-packages/pkg_resources/init.py”, line 1754, in _has return zip_path in self.zipinfo or zip_path in self._index() File “/usr/lib/python2.6/site-packages/pkg_resources/init.py”, line 1631, in zipinfo return self._zip_manifests.load(self.loader.archive) File “/usr/lib/python2.6/site-packages/pkg_resources/init.py”, line 1591, in load manifest = self.build(path) File “/usr/lib/python2.6/site-packages/pkg_resources/init.py”, line 1564, in build with zipfile.ZipFile(path) as zfile: AttributeError: ZipFile instance has no attribute ‘exit’ warning: %post(bahmni-installer-0:0.90-308.noarch) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package bahmni-installer-0.90-308.noarch Verifying : bahmni-installer-0.90-308.noarch 1/1

Installed: bahmni-installer.noarch 0:0.90-308

Complete! [root@mail /]# bahmni --help bash: bahmni: command not found [root@mail /]#