Problem Collection __ Software Installation

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.