While this lens will fit your Nikon D7000, it is not compatible.
From Nikon Canada's Website on the DX 10-20 AF-P lens
The number of cameras compatible with AF-P NIKKOR lenses is limited. Even for compatible cameras, firmware update may be required*. Fully compatible models: D850, D500, D7500, D5600, D5500, D5300*, D3400, D3300* and later models
Compatible models with limited functions: D5, D810 series, Df, D750, D7200, D7100, D5200, Nikon 1 series with the FT-1
Incompatible models: D4 series, D3 series, D2 series, D1 series, D800 series, D700, D610, D600, D300 series, D200, D100, D7000, D5100, D5000, D90, D80, D70 series, D3200, D3100, D3000, D60, D50, D40 series, film cameras
Date published: 2018-02-08