What to do if you get angry with "Gtk * backend requires pygtke to be installed" even though pygtk is included in matplotlib

Encountered in scientific linux 6.3.

python


mkdir ~/.matplotlib
echo "backend: Agg" >> ~/.matplotlib/matplotlibrc

Solved with.

Recommended Posts

What to do if you get angry with "Gtk * backend requires pygtke to be installed" even though pygtk is included in matplotlib
What to do if you get angry with'vertices' must be a 2D list ... in matplotlib arrow
What to do if you get lost in file reference with FileNotFoundError
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if you get angry with "Value Error: unknown local: UTF-8" in python manage.py syncdb
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if you get an Import Error when importing matplotlib with Jupyter
What to do if you get "coverage unknown" in Coveralls
What to do if you get a minus zero in Python
What to do if you get a UnicodeDecodeError with pip install
What to do if you get a TypeError with numpy min, max
What to do if you can't install with pip in babun environment
What to do if you get Could not fetch URL 443 with pip
What to do if pip cannot be installed
What to do if you get a "No versions found" error in pipenv
What to do if you get an error when installing python with pyenv
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if you get `No kernel for language python found` in Hydrogen
What to do if you get "(35,'SSL connect error')" in pycurl (one of them)
What to do if you get a Call with too many input arguments error at DoAndReturn in a golang test
What to do if you run python in IntelliJ and end with an error
What to do if the library doesn't load when you run it in PyCharm, even though it works fine on terminal
What to do if the image is not displayed using matplotlib etc. in the Docker container
What to do if you get Swagger-codegen in python and Import Error: No module named
What to do if you get a Cannot retrieve metalink for repository error in yum
What to do if you get an error when running "certbot renew" in CakePHP environment
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if you can't sort files with subscripts
What to do if you can't log in as root
What to do if you get an error saying c compiler cannot create executables in configure
What to do if you get a must override `get_config` error when trying to model.save in Keras
What to do if you get angry if you don't have libxml / xmlversion.h when installing lxml on CentOS
What to do if you can't install pyaudio with pip #Python
What to do if "Unnamed: 0" is added in to_csv-> read_csv in pandas
What to do if you can't build your project with Maven
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do if you can't use the trash in Lubuntu 18.04.
What to do if you get the message "" ~ .pkg "is corrupted and cannot be opened" when installing wxPython on Mac OS X
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
What to do if you get a "Wrong Python Platform" warning when using Python with the NetBeans IDE
[Python] What to do if you get a ModuleNotFoundError when importing pandas using Jupyter Notebook in Anaconda
What to do if you get the error Target WSGI script'/var/www/xxx/xxx.wsgi' cannot be loaded as python module
What to do when you get angry that libxml / xmlversion.h does not exist when you put lxml with pip
What to do if you can't find well with grep's -f option
What to do if you can't find PDO in Laravel or CakePHP
What to do if you couldn't send an email to Yahoo with Python.
What to do if you can't use scikit grid search in Python
If you can't import even though it is already installed by pip
What to do if you get stuck during Anaconda installation on Linux
If you want to get multiple statistics with groupby in pandas v1
What to do if you get an error when trying to load mnist
What to do if you get an error when installing Dlib (Ubuntu)
What to do if you get an error when trying to send a message in tasks.loop () immediately after startup
Notes on what to do if "macOS 11 or later required!" Appears in Big Sur or pyarrow2.0.0 cannot be installed
You will be an engineer in 100 days --Day 35 --Python --What you can do with Python
What to do if abort is displayed when inputting camera video in OpenCV
What to do if Japanese language support is not completely installed on Ubuntu 16.04
What to do if pipreqs results in UnicodeDecodeError
What to do if you can't pipenv shell