Check that you turn on Tools > References > xlwings addin inside VBA. If you not turn on this addin - then RunPython dosnt work.
Tools > References > xlwings
RunPython