I am using the Python plugin in IntelliJ Ultimate 10.5.
I want to be able to copy some of the WxPython demos into IntelliJ and run them using the Python plugin.
Here are the last few lines of code from the demo that I am trying to run:
if __name__ == '__main__':
run.main(['', os.path.basename(sys.argv)] + sys.argv[1:])
When running from IntelliJ, it can't find the WxPython 'run' module, so I get this message:
Traceback (most recent call last):
File "C:/MyPython/HelloWx/MyFrameDemo.py", line 84, in <module>
ImportError: No module named run
I added the WxPython code to my project's library, so I can see the run.py module in IntelliJ's project window and open it in the IntelliJ editor.
So not sure what else needs to be done so that the WxPython modules will be available to the plugin.