Take pains to produce inconvenience (7)
I believe the answer is:
trouble
I believe this clue is a double definition.
'take pains' is the first definition.
(thesaurus)
'inconvenience' is the second definition.
('trouble' can be a synonym of 'inconvenience')
'to produce' is the link.
(Other definitions for trouble that I've seen before include "Conflict" , "Difficulty, problems" , "Hassle" , "Disturb; difficulty" , "Trial, care, worry" .)