The carrying on, conducting, or practice of any profession, business, or occupation which is prohibited by law, unless the person so engaging in such profession, business, or occupation is in the possession of or holds a license issued by some board or other authority organized under the laws of the state, by any person not possessed of or holding the required license, is hereby declared to be a public nuisance, and the same may be abated under any procedure now provided by law for the abatement of any public nuisance, and such abatement may be accomplished by injunction.