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

后端 未结 16 914
深忆病人
深忆病人 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:13

    It is good to know the version of numpy you run, but strictly speaking if you just need to have specific version on your system you can write like this:

    pip install numpy==1.14.3 and this will install the version you need and uninstall other versions of numpy.

提交回复
热议问题