第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

python matplotlib 的安裝問題

python matplotlib 的安裝問題

手掌心 2019-05-25 16:34:57
1.系統(tǒng)環(huán)境python----->2.7.3ubuntu---->12.04pip---->9.0.12.在使用pipinstallmatplotlib報錯:Completeoutputfromcommandpythonsetup.pyegg_info:============================================================================Editsetup.cfgtochangethebuildoptionsBUILDINGMATPLOTLIBmatplotlib:yes[2.0.2]python:yes[2.7.3(default,Jun222015,19:43:34)[GCC4.6.3]]platform:yes[linux2]REQUIREDDEPENDENCIESANDEXTENSIONSnumpy:yes[version1.13.1]six:yes[usingsixversion1.10.0]dateutil:yes[usingdateutilversion1.5]functools32:yes[functools32wasnotfound.ItisrequiredforPythonversionspriorto3.2]subprocess32:yes[subprocess32wasnotfound.ItusedforPythonversionspriorto3.2toimprovesfunctionalityonLinuxandOSX]pytz:yes[usingpytzversion2017.2]cycler:yes[cyclerwasnotfound.pipwillattempttoinstallitaftermatplotlib.]tornado:yes[tornadowasnotfound.ItisrequiredfortheWebAggbackend.pip/easy_installmayattempttoinstallitaftermatplotlib.]pyparsing:yes[pyparsingwasnotfound.Itisrequiredformathtextsupport.pip/easy_installmayattempttoinstallitaftermatplotlib.]libagg:yes[pkg-configinformationfor'libagg'couldnotbefound.Usinglocalcopy.]freetype:no[TheC/C++headerforfreetype2(ft2build.h)couldnotbefound.Youmayneedtoinstallthedevelopmentpackage.]png:no[pkg-configinformationfor'libpng'couldnotbefound.]qhull:yes[pkg-configinformationfor'qhull'couldnotbefound.Usinglocalcopy.]OPTIONALSUBPACKAGESsample_data:yes[installing]toolkits:yes[installing]tests:no[skippingduetoconfiguration]toolkits_tests:no[skippingduetoconfiguration]OPTIONALBACKENDEXTENSIONSmacosx:no[MacOS-Xonly]qt5agg:no[PyQt5notfound]qt4agg:no[PySidenotfound;PyQt4notfound]gtk3agg:yes[installing,version3.2.4]gtk3cairo:yes[installing,version3.2.4]gtkagg:no[TheC/C++headerforgtk(gtk/gtk.h)couldnotbefound.Youmayneedtoinstallthedevelopmentpackage.]tkagg:yes[installing;run-timeloadingfromPythonTcl/Tk]wxagg:no[requireswxPython]gtk:no[TheC/C++headerforgtk(gtk/gtk.h)couldnotbefound.Youmayneedtoinstallthedevelopmentpackage.]agg:yes[installing]cairo:yes[installing,pycairoversion1.8.8]windowing:no[MicrosoftWindowsonly]OPTIONALLATEXDEPENDENCIESdvipng:noghostscript:yes[version9.05]latex:nopdftops:yes[version0.18.4]OPTIONALPACKAGEDATAdlls:no[skippingduetoconfiguration]============================================================================*Thefollowingrequiredpackagescannotbebuilt:*freetype,png----------------------------------------Command"pythonsetup.pyegg_info"failedwitherrorcode1in/tmp/pip-build-xxOWwU/matplotlib/pip我已經(jīng)更新到最新版本了:pipinstall--upgradepip求大神幫忙看看,怎么解決!
查看完整描述

2 回答

?
呼喚遠(yuǎn)方

TA貢獻1856條經(jīng)驗 獲得超11個贊

一般建議你使用apt-get進行安裝可以省很多的事情,直接使用:
apt-getinstallpython-matplotlib
它會自動解決一些依賴包,實際上使用pip安裝有一些C庫比如jpeg、png你要安裝后才可以正常安裝成功的。
                            
查看完整回答
反對 回復(fù) 2019-05-25
  • 2 回答
  • 0 關(guān)注
  • 2832 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號