When Californians voted in 2016 to allow the sale of recreational marijuana, advocates of the move envisioned thousands of pot shops and cannabis farms obtaining state licenses, making the drug easily available to all adults within a short drive.

But as the first year of licensed sales comes to a close, California’s legal market hasn’t performed as state officials and the cannabis industry had hoped. Retailers and growers say they’ve been stunted by complex regulations, high taxes and decisions by most cities to ban cannabis shops. At the same time, many residents are going to city halls and courts to fight pot businesses they see as nuisances, and police chiefs are raising concerns about crime triggered by the marijuana trade.