+ 2
Difference between pip and pip3?
When I try to install some packages like pandas,numpy etc using pip it shows error and then when using pip3 it works.what is the difference?
5 ответов
+ 5
The modules in pypi have different versions.
With pip3 the version for Python3 and not Python2 is installed.
+ 5
pip3 always operates on the Python3 environment only, as pip2 does with Python2.
pip operates on whichever environment is appropriate to the context. For example if you are in a Python3 venv, pip will operate on the Python3 environment.
0
Kiibo Ghayal
In desktop
0
pip is for python2.x while pip3 is for python3.x