How can I upgrade NumPy?

后端 未结 12 2077
太阳男子
太阳男子 2020-12-01 04:31

When I installed OpenCV using Homebrew (brew), I got this problem whenever I run this command to test python -c \"import cv2\":

Run         


        
12条回答
  •  悲哀的现实
    2020-12-01 04:46

    When you already have an older version of NumPy, use this:

    pip install numpy --upgrade
    

    If it still doesn't work, try:

    pip install numpy --upgrade --ignore-installed
    

提交回复
热议问题