ValueError: When this pin is in output mode, it is not allowed to pull up and down. MAIX GO /BIT


I try to command the output of GPIO of a MAIX GO card to send this value to a relay card, on the other hand, it indicates to me that I cannot pull_up / down when one is on pin OUTPUT,
suggestions please
thank you

pull up/down, only take effect in input mode
you need add hardware resistance to pull up/down

Thank you