Error 'No module named pip' when installing cht-conf

Hello folks

Am setting up the cht-conf for my local dev environment
When i run

sudo python -m pip install git+https://github.com/medic/pyxform.git@cht-conf-1.17#egg=pyxform-medic

i get /usr/bin/python: No module named pip yet i have pip locally

cliff@cliff-Latitude-5580:~$ pip --version
pip 21.3.1 from /home/cliff/.local/lib/python3.8/site-packages/pip (python 3.8)

cc @diana @gareth

1 Like

Hi Cliff,

Thank you for posting in the forum.

Can you please try using pip from Python 2.7.16? Let us know the outcome :slight_smile:

4 Likes

Additionally, you might want to check that Python is in the $PATH variables of your Operative System.

1 Like

thanks @Jennifer_Quesada for the feedback…
i used python3 instead of python in sudo python -m pip install git+https://github.com/medic/pyxform.git@cht-conf-1.17#egg=pyxform-medic and it worked

5 Likes