An open source alternative I've used in the past is Askbot: https://askbot.com/
It's built on Django, and covers all of the standard Q&A features that I've needed to use.
It's built on Django, and covers all of the standard Q&A features that I've needed to use.