Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the error report of qiime1 matplotlab drawing

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to solve qiime1 matplotlab drawing error report". In daily operation, I believe many people have doubts about how to solve qiime1 matplotlab drawing error report. The editor consulted all kinds of data and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubt of "how to solve qiime1 matplotlab drawing error report". Next, please follow the editor to study!

Qiime1 matplotlab drawing error resolution: _ tkinter.TclError: no display name and no $DISPLAY environment variable

Command run was: plot_taxa_summary.py-I / share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/otu_table_no_singletons_rare_sorted_L2.txt,/share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/otu_table_no_singletons_rare_sorted_L3.txt / share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/otu_table_no_singletons_rare_sorted_L4.txt,/share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/otu_table_no_singletons_rare_sorted_L5.txt,/share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/otu_table_no_singletons_rare_sorted_L6.txt / share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/otu_table_no_singletons_rare_sorted_L7.txt-o / share/nas1/huangls/test/ampliseq-q1/16s2/4.Qiime_analysis/taxa_summary_plot/taxa_summary_plots/-x_width 8-chart_type bar-bar_width 0.5Command returned exit status: 1Stdout:StderrTraceback (most recent call last): File "/ share/work/ Biosoft/python/Python-v2.7.11/bin/plot_taxa_summary.py " Line 278, in main () File "/ share/work/biosoft/python/Python-v2.7.11/bin/plot_taxa_summary.py", line 274, in main resize_nth_label, label_type, include_html_legend) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 1142, in make_all_charts resize_nth_label, label_type Include_html_legend)) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 1077, in get_counts label_type, include_html_legend) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 865 In make_HTML_table props= {'title': title}) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/qiime/plot_taxa_summary.py", line 470, in make_area_bar_chart fig = figure (figsize= (plot_width, plot_height)) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/matplotlib/pyplot.py", line 535 In figure * * kwargs) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 81, in new_figure_manager return new_figure_manager_given_figure (num, figure) File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 89 In new_figure_manager_given_figure window = Tk.Tk () File "/ share/work/biosoft/python/Python-v2.7.11/lib/python2.7/lib-tk/Tkinter.py", line 1814, in _ _ init__ self.tk = _ tkinter.create (screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _ tkinter.TclError: no display name and no $DISPLAY environment variable

The above is the error message. The solution is to set matplotlib default drawing output:

Run the following command:

Mkdir-p ~ / .config/matplotlib & & echo "backend: Agg" > ~ / .config / matplotlib/matplotlibrc at this point, the study of "how to solve qiime1 matplotlab drawing errors" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report