Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix running Mayavi on Windows #618

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Fix running Mayavi on Windows #618

merged 3 commits into from
Jan 30, 2024

Conversation

yoda-vid
Copy link
Collaborator

Mayavi gives an error when running with TraitsUI 8 (see enthought/mayavi#1260). A workaround has been to set the ETS_TOOLKIT="qt4" environment variable, which worked on testing in macOS but not in Windows. As another workaround, set the ETSConfig.toolkit configuration instead, which avoids needing to set an environment variable and also works for Windows.

Also, install only VTK < 9.3 because of errors associated with VTK's latest update in the current Mayavi (4.8.1; see enthought/mayavi#1286).

Install only VTK < 9.3 because of errors associated with VTK's latest update in the current Mayavi (4.8.1; see enthought/mayavi#1286).
Mayavi gives an error when running with TraitsUI 8 (see enthought/mayavi#1260). A workaround has been to set the `ETS_TOOLKIT="qt4"` environment variable, which worked on testing in macOS but not in Windows. As another workaround, set the `ETSConfig.toolkit` configuration instead, which avoids needing to set an environment variable and also works for Windows.
@yoda-vid yoda-vid added bug Something isn't working dependencies Issues/requests related to a dependency package labels Jan 30, 2024
@yoda-vid yoda-vid added this to the v1.6.0 milestone Jan 30, 2024
@yoda-vid yoda-vid merged commit 92e88b7 into master Jan 30, 2024
2 checks passed
@yoda-vid yoda-vid deleted the fix_mayavi_windows branch January 30, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Issues/requests related to a dependency package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant