This happens with python USE flag enabled. swig is a build-time tool, it shouldn't be runtime-depended upon.
Fixed this myself.