How do I check which version of NumPy I'm using?

后端 未结 16 943
深忆病人
深忆病人 2020-12-07 08:48

How can I check which version of NumPy I\'m using?

(FYI this question has been edited because both the question and answer are not platform specific.)

16条回答
  •  日久生厌
    2020-12-07 09:20

    Simply

    pip show numpy
    

    and for pip3

    pip3 show numpy
    

    Works on both windows and linux. Should work on mac too if you are using pip.

提交回复
热议问题