Closed sbanert closed 2 years ago
When connect to a remote computer via SSH, start an IPython session and type import adutils (which is properly installed), I get the error message
import adutils
qt.qpa.screen: QXcbConnection: Could not connect to display Could not connect to any X display.
I guess it's one of these lines:
https://github.com/davlars/ad-skull-reconstruction/blob/7a85ba18ea80fee1be6b8dc66b2058430e119fef/adutils/utilities.py#L15-L16
Try commenting them out.
It’s only matplotlib.pyplot.
matplotlib.pyplot
Can you make a PR to change those to be lazily imported? Should solve this issue.
When connect to a remote computer via SSH, start an IPython session and type
import adutils
(which is properly installed), I get the error message