我成功地在Raspberry Pi 4上安装了TensorFlow和OpenCV。但是,我只能在python3上导入TensorFlow,而不能在python2上导入。相反,我只能在python2上导入cv2,而不能在Python3上导入。我想知道如何在pyhton2或python3上导入这两者。
OpenCV Error: Insufficient memory (Failed to allocate 1612986244 bytes) in OutOfMemoryError, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/alloc.cpp, line 55i