python - matplotlib "DLL load failed" when import pylab -


मैं matplotlib के लिए नया हूँ मेरा वातावरण WinXP, PythonWin 2.6.2, NumPy 1.3.0, matplotlib 0.98.5.3।

  & gt; & gt; & gt; आयात करें matplotlib.pylab के रूप में पियालाब ट्रेसबैक (सबसे हाल ही में कॉल अंतिम): फ़ाइल "& lt; इंटरैक्टिव इनपुट & gt;", पंक्ति 1, & lt; मॉड्यूल & gt; फ़ाइल "डी: \ पायथन 26 \ lib \ site-packages \ matplotlib \ pylab.py", पंक्ति 253, & lt; मॉड्यूल & gt; Matplotlib.pyplot आयात * से फ़ाइल "डी: \ पायथन 26 \ lib \ site-packages \ matplotlib \ pyplot.py", पंक्ति 75, में & lt; मॉड्यूल & gt; स्थानीय, (स्थानीय) ([backend_name]) फ़ाइल "डी: \ पायथन 26 \ lib \ site-packages \ matplotlib \ backends \ __ init__.py", रेखा 25, में pylab_setup globals () फ़ाइल "new_figure_manager, draw_if_interactive" डी: \ पायथन 26 \ lib \ site-packages \ matplotlib \ backends \ backend_tkagg.py ", पंक्ति 8, & lt; मॉड्यूल & gt; आयात करें tkagg # तस्वीर को ब्लूटूटर विस्तार करने के लिए चित्र रंग फ़ाइल "डी: \ Python26 \ lib \ site-packages \ matplotlib \ backends \ tkagg.py", पंक्ति 1, में & lt; मॉड्यूल & gt; Import _tkagg importError: DLL लोड विफल: मॉड्यूल नहीं मिल सकता  

मैंने वेब पर खोज की है और कहा है क्योंकि msvcp71.dll की कमी है, लेकिन मेरी सी में पहले से ही एक है: \ windows \ system32 \

क्या कोई भी मदद कर सकता है?

  आयात करें   

किसी भी अन्य मॉड्यूल का उपयोग करने से पहले, इसे आज़माएं Matplotlib matplotlib.use ('Agg') आयात matplotlib.pylab के रूप में pylab

अधिक जानकारी और अन्य तरीकों के लिए देखें

matplotlib प्रतिपादन के लिए विभिन्न बैकएंड का उपयोग कर सकते हैं, एग्री कोई UI नहीं के साथ शुद्ध ड्रा, ताकि आप केवल छवियों को सहेज सकें उदा ..

  plt.savefig ("plt.png")  

अधिक जानकारी के लिए पढ़ें, उदा। आप ps, pdf, wxagg, tkagg आदि से आउटपुट कर सकते हैं, इसलिए यदि आपके पास wxpython इंस्टॉल किया हुआ है, तो इसका उपयोग करें

  matplotlib.use ('wxagg')  

मुझे भी लगता है कि टीकैग बैकेंड काम करना चाहिए था, क्योंकि टंकिनर () पायथन के साथ डिफ़ॉल्ट GUI है, क्या आपने अजगर को Python.org से स्थापित किया है?


Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -