No display found. Using non-interactive Agg backend.
blasco opened this issue · 3 comments
Description
I get the following error when importing the package:
"No display found. Using non-interactive Agg backend."
Everything seems to be working but ploting, matplotlib stops working.
it seems that you are running on remote mode on a server which does not have a display? or Docker image without mounted display... may you share some more details about your environment?
pyImSegm/imsegm/utilities/__init__.py
Lines 8 to 11 in a08c02b
You are right, I'm running on a docker image with GPU support for tensorflow. How should I launch the container so it doesn't fail?
Then, restart your session and try get pure Figure without importing this package... I suppose that it fails =)
import matplotlib.pyplot as plt
plt.plot(1, 2), plt.show()
EDIT: you may need to connect it, check http://wiki.ros.org/docker/Tutorials/GUI