It’s convenient to use pychart remote debugging program, but PLT can’t display pictures.
You can refer to pycham to remotely connect to the server and display the picture_ Cowboy does not catch a cold blog – CSDN blog
The following is the troubleshooting of errors reported by Matplotlib. Use (‘tkagg ‘) during the recent use of Matplotlib. Record it:
Use the remote server debugger. In order to display the picture, modify matplotlib.use to report an error.
Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
Xshell failed to open successfully. The error is eliminated after restarting xshell and xming.
But xming doesn’t pop up a window to display pictures. Restart debugging, here comes again
Then the above problem is probably not xshell and xming. Check env in the terminal and see display = localhost: 12.0
Recheck the pycharm running configuration. First clear the environment variable
Delete the display environment variable and display successfully.
After debugging and looking again, the error is reported again.
Check env again, display = localhost: 10.0
Add display = localhost: 10.0 again, the debugging is successful, try again, no problem, OK
Read More:
- Troubleshooting of Jenkins upgrade to 2.42 JUnit test report
- Python Anaconda Spyder can’t display pictures by using Matplotlib. Error report solution: figures now render in the plots pane by default. To mak
- Navicat remote connection SQL Server 2014 express report 08001 error
- Error starting ApplicationContext. To display the conditions report re run
- Error starting ApplicationContext. To display the conditions report re-run your application with
- Spring cloud config uses gitee to report auth fail for remote clients
- Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
- Raspberry pie 4B uses adafruit_ Pca9685 report error ioerror: [errno 121] remote I / O error solution
- Error when pychart terminal runs pytest: file not found:
- Win10 desktop right click display settings MS- settings:display Or Ms- settings:personalization-background resolvent
- Can’t open display: can’t open display: localhost:10.0
- Win10 can not open the picture, file system error (- 214721996) repair method
- MySQL local connection Error 1130_ The solution of MySQL 1130 error report when remote connection through Navicat for MySQL
- SteamVR error code 108/203/208/301/306/308/400/405 troubleshooting method
- TIP: Unable to initialize gtk, is DISPLAY set properly?
- Troubleshooting of ROS rosdep init / update
- Troubleshooting of Ubuntu wrk installation error
- Get picture captcha with Python + Chrome
- Nginx: recv() failed (104: connection reset by peer) troubleshooting
- Troubleshooting of errors in the installation and use of scienceplots