I'm new to python and ubuntu. I installed two versions of python to be able to use them in jupyter .. but when i checked the version of numpy i got
python import numpy numpy.__version__
>>> numpy.__version__ '1.14.5'
but when i used
pip show numpy Name: numpy Version: 1.11.0 Summary: NumPy: array processing for numbers, strings, records, and objects. Home-page: http://www.numpy.org Author: NumPy Developers Author-email: email@example.com License: BSD Location: /usr/local/lib/python3.4/dist-packages Requires: Required-by:
python3 -m pip --version pip --version
pip 18.0 from /usr/local/lib/python3.4/dist-packages/pip (python 3.4)
python -m pip --version
pip 18.0 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
now i'm confusing with both versions . i got error with
slice indices must be integers or None or have an __index__ method
and found that because i need to downgrade numpy but i found two and don't know which one i should use ?