When you run the .py script, an error occurs:
There was an error: no display name and no $DISPLAY environment variable. What have I done wrong? And how to fix it?
When you run the .py script, an error occurs:
There was an error: no display name and no $DISPLAY environment variable. What have I done wrong? And how to fix it?
Source: https://ru.stackoverflow.com/questions/549477/
All Articles
import matplotlibmatplotlib.use('Agg')to the top of the script - ChubatiyCommand python setup.py egg_info failed with error code 1 in /tmp/pip-build-gDvDOS/matplotlib16apt-get install python-matplotlib, and again I get the errorno display name and no $DISPLAY environment variable.- JamesJGoodwin