Object Detection API error

I am getting error while installing object detection api’s. can someone please tell me the steps from scratch to build an environment to use object detection and avoid dependency errors.