I am installing Intel OpenVINO Toolkit in which I configure the model optimizer.
(ankit) ankit@ankit-HP-Notebook:~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites$ sudo ./install_prerequisites.sh
Hit:1 xenial InRelease
Hit:2 xenial InRelease
Get:3 xenial-security InRelease [107 kB]
Hit:4 xenial InRelease
Get:5 xenial-updates InRelease [109 kB]
Get:6 xenial-backports InRelease [107 kB]
Get:7 xenial-proposed InRelease [260 kB]
Fetched 583 kB in 2s (287 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
21 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-venv is already the newest version (3.5.1-3).
libgfortran3 is already the newest version (5.4.0-6ubuntu1~16.04.10).
python3-pip is already the newest version (8.1.1-2ubuntu0.4).
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
/usr/local/bin/python3: No module named pip
Error on or near line 85; exiting with status 1I have tried many things, so how can I solve it?
43 Answers
Because you have python3-pip package installed, you need to invoke that as pip3:
pip3 list
sudo pip3 install virtualenv 3 It means you need to install pip using this commmand-
sudo apt install python3-pipif python3 is the only version of python installed then pip should invoke pip3 when used.
Create a symbolic link at /usr/local/bin/python3/pip which references to file /usr/local/bin/pip2.7.
sudo ln -s /usr/local/bin/pip2.7 /usr/local/bin/python3/pip Then change directories to ~/intel/computer_vision_sdk_2018.3.343/deployment_tools/model_optimizer/install_prerequisites and run sudo ./install_prerequisites.sh