1. ImportError:dlopen:cannot load any more object with static TLS
Backend Qt5agg is interactive backend. Turning interactive mode on. ##
You often encounter such problems in Python. "Condition: Occurs when importing Cv2 and torch"
Solution:
First: Set the Matplotlib backend to non-interactive.
If not, the second type: Pip install Opencv-python
Import matplotlib
MATPLOTLIB.RCSETUP.INTERACTIVE_BK # get interactive backend
Matplotlib.rcsetup.non_ INTERACTIVE_BK # get Non-interactive backend
matplotlib.rcsetup.all_backends # get all Backend
2.Ubuntu Foxit Reader can not use the Sougou input method, switching Chinese problems
(1). Find the location of the file foxitreader.sh (some in/usr/local/foxitreader/foxitreader.sh, some in ~/opt/foxitsoftware/foxitreader/ foxitreader.sh)
(2) Add before the EXEC statement, such as the next two lines:
Export xmodifiers= "@im =fcitx"
export qt_im_module= "FCITX"
It's OK.
Reference URL:
The backend analysis of https://vra.github.io/2017/06/13/mpl-backend/---matplotlib.