I am installing bahmni on a fresh Centos 7.6 installation following this documentation but I am already running into errors.
When I run pip
install
--upgrade pip
I get below message
sudo: pip: command not found
I then used the command sudo yum install python-pip
after which running pip
install
--upgrade pip
gave below error message
Collecting pip
Downloading https://files.pythonhosted.org/packages/6b/8b/0b16094553ecc680e43ded8f920c3873b01b1da79a54274c98f08cb29fca/pip-23.0.1.tar.gz (2.1MB)
100% |████████████████████████████████| 2.1MB 609kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-eA_d2s/pip/setup.py", line 7
def read(rel_path: str) -> str:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-eA_d2s/pip/
You are using pip version 8.1.2, however version 23.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.