I use a MacBook Pro and I have met the same problem. Basically it would only happen when I train CNN or import module Keras.preprocessing. My solution is to create a new environment and only install packages you need at this time.
you can use code below in terminal:
'conda install -n tf tensorflow'. (###create a new TensorFlow environment named tf (or other names you like))
'conda activate tf' (###activate the new environment )
then install packages you need in this environment, for example:
'conda install Keras'
'conda install Jupiter notebook'
It would work well. I also recommend to use Anaconda Navigator so you can easily switch from one environment to another one instead of changing by terminal (in terminal, use 'conda deactivate', it will return to the base environment ). You can also check and install new packages in navigator.