पर मैटलप्लिपिब स्थापित करने में असमर्थ मै मैक ओएस एक्स पर पाइथन में ग्राफ़िंग अनुप्रयोगों के लिए मैटलप्लॉब स्थापित करने का प्रयास कर रहा हूं। जब मैं "पायथन setup.py इंस्टॉल" चलाता हूं, तो यह मुझे त्रुटियों का भार देता है: http://pastebin.com/u7fL37ic।मैक ओएस एक्स
एक त्वरित टुकड़ा:
src/ft2font.cpp:2170: error: ‘FT_LOAD_TARGET_MONO’ was not declared in this scope
src/ft2font.cpp:2171: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this scope
src/ft2font.cpp:2172: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared in this scope
src/ft2font.cpp:2175: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2175: error: ‘FT_Init_FreeType’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:2186: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2186: error: ‘FT_Done_FreeType’ was not declared in this scope
lipo: can't figure out the architecture type of: /var/folders/Nj/Njnlp9qSF64sMESWcaDnk++++TI/-Tmp-//cchyYmM5.out
error: command 'gcc-4.0' failed with exit status 1
मैं MacPorts का उपयोग कर freetype स्थापित है, और मैंने सोचा था कि इस मुद्दे को ठीक है, लेकिन कोई किस्मत। मुझे पहले की तरह एक ही त्रुटि देता है। ऐसा लगता है कि यह सही freetype फ़ाइलें नहीं मिल सकता है:
BUILDING MATPLOTLIB
matplotlib: 1.0.0
python: 2.6.5 (r265:79359, Mar 24 2010, 01:32:55) [GCC
4.0.1 (Apple Inc. build 5493)]
platform: darwin
REQUIRED DEPENDENCIES
numpy: 1.5.0
freetype2: found, but unknown version (no pkg-config)
* WARNING: Could not find 'freetype2' headers in any
* of '.', './freetype2'.
मैं कहां से freetype फ़ाइलें रखना चाहिए ताकि वे पाया जा सकता है? अभी वे/opt/local/lib
कोई विचार हैं?
आरआईपी जॉन डी। हंटर - matplotlib के लेखक। यह सुनकर बहुत दुख हुआ कि वह मर गया। http://matplotlib.org/ – user391339