  endif()
  target_link_libraries(${PROJECT_NAME}_boost ${Boost_LIBRARIES}
                                              ${catkin_LIBRARIES}
+-                                            ${PYTHON_LIBRARIES}
+                                             ${PROJECT_NAME}
+ )
+ 
++if(NOT APPLE)
++  target_link_libraries(${PROJECT_NAME}_boost ${PYTHON_LIBRARIES})
++endif()
++
+ set_target_properties(${PROJECT_NAME}_boost PROPERTIES
+                       LIBRARY_OUTPUT_DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_PYTHON_DESTINATION}/${PROJECT_NAME}/boost/
+                       RUNTIME_OUTPUT_DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_PYTHON_DESTINATION}/${PROJECT_NAME}/boost/
+@@ -51,6 +60,8 @@ set_target_properties(${PROJECT_NAME}_boost PROPERTIES
+ if(APPLE)
+   set_target_properties(${PROJECT_NAME}_boost PROPERTIES
+                         SUFFIX ".so")
++  set_target_properties(${PROJECT_NAME}_boost PROPERTIES
++                        LINK_FLAGS "-undefined dynamic_lookup")
+ endif()
+ if(MSVC)
+   set_target_properties(${PROJECT_NAME}_boost PROPERTIES
+
 diff --git a/src/module_opencv4.cpp b/src/module_opencv4.cpp
 index e69de29..ba09795 100644
 --- a/src/module_opencv4.cpp

-#endif
 
 #endif
diff --git a/python/cv_bridge/__init__.py b/python/cv_bridge/__init__.py
index 5189c1a..d37a7b4 100644
--- a/python/cv_bridge/__init__.py
+++ b/python/cv_bridge/__init__.py
@@ -1,8 +1 @@
 from .core import CvBridge, CvBridgeError
-
-# python bindings
-try:
-    # This try is just to satisfy doc jobs that are built differently.
-    from cv_bridge.boost.cv_bridge_boost import cvtColorForDisplay, getCvType
-except ImportError:
-    pass

 
 if(NOT ANDROID)
 # add a Boost Python library
@@ -32,17 +36,22 @@ if (PYTHON_VERSION_MAJOR VERSION_EQUAL 3)
   add_definitions(-DPYTHON3)
 endif()
 
