importing numpy in different python versions
You can install numpy in python3 with help of pip3 command instead of pip.
Yes you should change python3 as default as python2 support is going to end this year.
I have a problem with importing numpy for python3, I'm new in coding and followed all steps.  I want to import numpy in python3 but not in python2 which is set by defaultn my mac mojave 10.14.2.
I have Python 2.7.10 by default on my mac and can switch now to Python 3.7.2 in shell. I installed pip 18.1 as described in PyPA and now I can import numpy only in Python 2. what should I do to be able to import numpy in Python 3? Is it better to set Python 3 by default on my mac mojave 10.14.2?