In the Netherlands, there is a tolerance policy for cannabis.
This means that possession of up to 5 grams of cannabis for personal use is not actively prosecuted.
Growing cannabis is illegal, but small home growers (maximum 5 plants) are sometimes not criminally prosecuted under certain conditions.
Commercial cultivation is always punishable, unless done through a government-licensed project.

Note: Possessing growing equipment can be viewed as preparation for illegal cultivation.