You should install all modules using PPM only but I can't understand why you tried to compile your script with wx support in the first place. Your script does not seem to make use of any wx features. So, it should compile without taking any of the steps I suggested above.