ImportError: dynamic module does not define module export function (PyInit_cv_bridge_boost)

# You could use numpy directly, instead of cv_bridge
import numpy as np
im = np.frombuffer(, dtype=np.uint8).reshape(image_data.height, image_data.width, -1)

Here is what the above code is Doing:
1. Convert the image message to a numpy array using the cv_bridge library
2. Convert the numpy array to a PIL image using the Image library
3. Save the image as a PNG file in the current folder