Traceback (most recent call last):


 "Object_detection_picamera.py", line 23, in <module>

import cv2


 "/home/pi/.local/lib/python3.5/site-packages/cv2/__init__.py", line 3, in <module>

from .cv2 import *
ImportError: numpy.core.multiarray failed to import

Traceback (most recent call last):


 "train.py", line 2, in <module>

from options.train_options import TrainOptions


 "/home/ubuntu/pytorch-CycleGAN-and-pix2pix/options/train_options.py", line 1, in <module>

from .base_options import BaseOptions


 "/home/ubuntu/pytorch-CycleGAN-and-pix2pix/options/base_options.py", line 3, in <module>

from util import util


 "/home/ubuntu/pytorch-CycleGAN-and-pix2pix/util/util.py", line 4, in <module>

from PIL import Image


 "/home/ubuntu/miniconda3/lib/python3.6/site-packages/PIL/Image.py", line 56, in <module>

from . import _imaging as core
ImportError: /home/ubuntu/miniconda3/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PySlice_Unpack
