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

[Python] Workaround for plotting on remote server. #66

Open
ReinderVosDeWael opened this issue Apr 1, 2022 · 0 comments
Open

[Python] Workaround for plotting on remote server. #66

ReinderVosDeWael opened this issue Apr 1, 2022 · 0 comments
Assignees
Labels
bug Something isn't working python

Comments

@ReinderVosDeWael
Copy link
Collaborator

ReinderVosDeWael commented Apr 1, 2022

Many users have reported issues with using plot_hemispheres on a remote server. This issue stems from vtk, one of our dependencies, requiring a display to exist. If you are running into this issue, you may want to try this experimental workaround. If you do, please let us know whether this worked for you.

The workaround is as follows. First, install conda. Once installed, run the following:

conda config --add channels conda-forge
conda install mesalib --channel conda-forge --override-channels --freeze-installed
conda install vtk --channel conda-forge --override-channels --freeze-installed
# if conda tries to install a build of vtk that does not start with osmesa_* force this build using the following:
# Note that the exact vtk version and build may have to be adjusted in the future.
# conda install vtk==9.1.0=osmesa_py39h8ab48e2_107 --channel conda-forge --override-channels --freeze-installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working python
Projects
None yet
Development

No branches or pull requests

1 participant