How do I check which version of NumPy I'm using?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puddle Jumping Looping
--
Chapters
00:00 Question
00:17 Accepted answer (Score 466)
00:27 Answer 2 (Score 278)
00:37 Answer 3 (Score 76)
00:56 Answer 4 (Score 37)
01:23 Thank you
--
Full question
https://stackoverflow.com/questions/1520...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #numpy #version
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puddle Jumping Looping
--
Chapters
00:00 Question
00:17 Accepted answer (Score 466)
00:27 Answer 2 (Score 278)
00:37 Answer 3 (Score 76)
00:56 Answer 4 (Score 37)
01:23 Thank you
--
Full question
https://stackoverflow.com/questions/1520...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #numpy #version
#avk47
ACCEPTED ANSWER
Score 483
import numpy
numpy.version.version
ANSWER 2
Score 300
import numpy
print(numpy.__version__)
ANSWER 3
Score 90
From the command line, you can simply issue:
python -c "import numpy; print(numpy.version.version)"
Or:
python -c "import numpy; print(numpy.__version__)"
ANSWER 4
Score 19
You can also check if your version is using MKL with:
import numpy
numpy.show_config()