I'm trying to use the gfx module for python (from here: http://www.swftools.org/gfx_tutorial.html). But when I do python setup.py build
I get an error:
ImportError: cannot import name CompileError
I just need to open a gfx file.. (Its part of the pythonchallenge.com) How can I do it?
I'm working on linux mint 64bit
download
You can build the Python module using setup.py
You can build it "manually" by using make To do the former, all that should be required is
This is the preferred way. If the above gives you any trouble or you prefer make, the following will also create the Python module:
You can test whether the python module was properly installed by doing