What distribution is c9 running on? Are you connecting through SSH or do you have an X-Session available? How did you install Erlang and elixir? How did you install wx-Widgets and GTK?
For a quick test to know if you have wx module installed:
open a terminal:
open erlang terminal typing: erl
then execute the demo wx:demo(). you should see an Erlang window with some examples. If this does not work then you probably need to install wxWidgets.
I have installed it with asdf my issue was with ssh