Hi, I don’t know how to get around an error code on a step in the course: Tello Camera Control with DroneBlocks Python App.
I followed along OK until the 3rd section "Download and Run the DroneBlocks Python Code (5:16) following the windows installation instruction video @ Download and Run the DroneBlocks Python Code | DroneBlocks Curriculum
When I attempt to run app.py for the first time it fails to get flask up and running with errors shown below.
Can you help please?
Regards Keith
Error message
C:***\DroneBlocks-Tello-Camera-With-Python-OpenCV-master>python app.py
** On entry to DGEBAL parameter number 3 had an illegal value ** On entry to DGEHRD parameter number 2 had an illegal value ** On entry to DORGHR DORGQR parameter number 2 had an illegal value ** On entry to DHSEQR parameter number 4 had an illegal value ImportError: numpy.core.multiarray failed to import Traceback (most recent call last):
File “app.py”, line 3, in from lib.camera import Camera File “C:***\DroneBlocks-Tello-Camera-With-Python-OpenCV-master\lib\camera.py”, line 1, in import cv2
File “C:\Users***\AppData\Local\Programs\Python\Python37\lib\site-packages\cv2_init_.py”, line 5, in from .cv2 import * ImportError: numpy.core.multiarray failed to import
Here is a ‘pip list’ showing I had successfully loaded packages/dependencies up to that point:
pip list
Package Version
click 7.1.2
Flask 1.1.2
itsdangerous 1.1.0
Jinja2 2.11.2
MarkupSafe 1.1.1
numpy 1.19.4
opencv-contrib-python 4.4.0.46
opencv-python 4.4.0.46
pip 20.1.1
setuptools 47.1.0
Werkzeug 1.0.1
WARNING: You are using pip version 20.1.1; however, version 20.3 is available.
You should consider upgrading via the ‘c:\users***\appdata\local\programs\python\python37\python.exe -m pip install --upgrade pip’ command.