Open System Preferences then Choose Security & Privacy from the menu.

Select General from the tabs at the top of the Security & Privacy page.

Click the Lock icon at the bottom left of the window

Enter your administrative username and password and click Unlock

Select Anywhere from list of places to allow downloaded applications from.