Two people were injured early Friday in a shooting at an apartment complex on East Pilot Street in Durham, police said.