Does The Python.org Installer Of Python Come With Pip, And How Do I Use It?
Solution 1:
Here you have informations about pip:
https://packaging.python.org/installing/
normally python from python.org come with pip, maybe you should just update... to update from terminal:
pip install -U pip setuptools
After when you need to install package, for example numpy
, just do in a terminal:
pip install numpy
more informations here :
https://pip.pypa.io/en/stable/reference/pip_install/
you can also use conda install
from anaconda as an alternative of pip
:
Solution 2:
Multiple instances of Python can coexist on your machine. Thus you could have installed Python 2.7.12 yet, when you call Python from terminal, you may be calling an older version.
To know which version you are using, type which python
in terminal and look at its path. Then from Python in terminal, type
import sys
print(sys.version)
to get the exact version.
As Dadep says, I would recommend using conda
to isolate your invironments if you have to play with multiple Python interpreters. Further conda simplifies 3rd party package installation process beyond doubt.
Post a Comment for "Does The Python.org Installer Of Python Come With Pip, And How Do I Use It?"