Skip to content

python setup.py install fails under macOS 10.14 Mojave #155

@BlackRockCity

Description

@BlackRockCity

Installed all dependencies. The one blocking issue is that pygtk has been replaced with pygobject3. So I'm getting install errors.

After successfully running python setup.py build, I run

python setup.py install

I see about a hundred lines of successful copying build/lib/OXM/ then I see the following type of error for about 300 lines:

`byte-compiling build/bdist.macosx-10.14-x86_64/egg/pygtk_chart/chart.py to chart.cpython-38.pyc
File "build/bdist.macosx-10.14-x86_64/egg/pygtk_chart/chart.py", line 117
raise AttributeError, "Property %s does not exist." % property.name
^
SyntaxError: invalid syntax

byte-compiling build/bdist.macosx-10.14-x86_64/egg/pygtk_chart/label.py to label.cpython-38.pyc
File "build/bdist.macosx-10.14-x86_64/egg/pygtk_chart/label.py", line 217
raise AttributeError, "Property %s does not exist." % property.name
^
SyntaxError: invalid syntax`

Anyone have a tip on how to fix it? How can I install pygtk?

I'm using these instructions:
#107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions