It's illegal in the UK, sort of. Under 10 plants they assume it's for personal use and don't give a shit.
We have weird laws where it's ok to take drugs but not to sell them. A local woman was let off completely when they couldn't prove her bag full of drugs was for sale.
Until they start taxing it through the roof like alcohol and tobacco and petrol.
In the UK, the police thought someone was growing weed in a factory. Actually they were bitcoin mining!