python3: can’t open file ‘pip2’: [Errno 2] No such file or directory

You will get an error like this when you are trying to install some package using Python this error mostly indicates the issue is due to incorrect Syntax rather than anything else

python3 -m pip install yourpackage

All you need to do is type the syntax exactly as above and once you do it, your package will be installed as shown (in this case it’s googletranslate)


This image has an empty alt attribute; its file name is image-2-1024x242.png

Scroll to Top