Skip to content

Maya and incompatible bindings on PYTHONPATH #146

Closed
@mottosso

Description

@mottosso

Problem

Launching Maya < 2017 with a binding for Qt 5 on your PYTHONPATH may cause Maya to segfault due to picking up either PyQt5 or PySide2, when it only supports PyQt4 and PySide.

  • Affects Maya 2016 and below.

Solution

Limit preferred bindings to those supported by your version of Maya.

# Linux
$ export QT_PREFERRED_BINDING=PySide:PyQt4
# Windows
$ set QT_PREFERRED_BINDING=PySide;PyQt4
$ maya

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions