Sweden does not have an Embassy in Namibia. The Embassy of Sweden in Pretoria has the main responsibility for Sweden's relations with Namibia.
Visa applications for travelling to Sweden
The Finnish Embassy in Windhoek, Namibia is in charge of visa applications from applicants who reside in Namibia and whose main destionation in the Schengen Area is Sweden https://finlandabroad.fi/web/nam/frontpage
Swedish consulate in Namibia
You will find contact details to the swedish consulate in Namibia in the bottom of this page.