Original from Baidu Experience: http://jingyan.baidu.com/article/eae078278b37d41fec5485b2.html
Grey often thanks for the original
In the "Security and privacy" settings of MacOS Sierra, only the App Store and App Store and the approved developer two options are available in apps that allow download from the following locations, except that this option is missing from any source.
Just to spread the positive energy, please go to the other side of the page to view the solution, the following things are personal memo??
After you have opened the Terminal terminal, enter it after the command prompt
sudo spctl--master-disable
and press ENTER to execute the
Then enter the password for the current MAC user
When you finish executing the command that you entered before, the command prompt is successfully returned without an error stating that the command was executed successfully.
Then go to the Security and Privacy pane in System Preferences and discover that the "any source" option has appeared and is set as the default option. As a result, applications downloaded from the Internet can be opened on MAC.
While this method can open the system's "any source" option, you can run all other third-party applications, but at the same time there is a certain risk. So it is recommended that you always choose to run the program from the APP Store and the trusted developer and open it when necessary.
Workaround for Mac does not show unknown source option