ModuleNotFoundError: No module named 'pip._internal' error

Dear all,

I tried to install RISC-V-On-PYNQ using the command given in GitHub - drichmond/RISC-V-On-PYNQ: RISC-V Integration for PYNQ but could not due to pip3.6 error. As shown in the screenshot, the pip version installed in the board is pip 21.0.1
sudo -H pip3.6 install GitHub - drichmond/RISC-V-On-PYNQ: RISC-V Integration for PYNQ
I also tried to install it using
sudo -H python3 -m pip install GitHub - drichmond/RISC-V-On-PYNQ: RISC-V Integration for PYNQ

PYNQ version: 2.5
Board: PYNQ Z1

I had the same problem with pip. My solution:

For Python 3

sudo apt-get install python3-pip

For Python 2

sudo apt-get install python-pip
1 Like