2銆佸弬鐓?鍒嗛挓蹇熷叆闂紝瀹夎paddlepadle鐜錛屾湰鏈虹幆澧僉inux CentOS7錛屽懡浠ゅ涓?錛?br />pip install paddlepaddle
3銆佹甯告儏鍐典笅錛屼細(xì)鍦嗘弧瀹夎瀹屾瘯錛屽弬鐓у涓嬫垚鍔熺殑鎻愮ず錛?br />Successfully installed cycler-0.10.0 kiwisolver-1.0.1 matplotlib-2.2.0 paddlepaddle-0.11.0 protobuf-3.1.0 python-dateutil-2.6.1 pytz-2018.3 rarfile-3.0 recordio-0.1.5 requests-2.9.2 subprocess32-3.2.7
4銆佷絾闄愪簬鎴戞湰鏈虹殑鐜錛屽畨瑁呰繃紼嬩腑鍏卞嚭鐜拌繃涓ゆ閿欒錛?br /> 閿欒1錛歡cc鏈畨瑁咃紝閿欒鎻愮ず濡備笅錛?br />unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1
瑙e喅鏂規(guī)硶錛?br />yum -y install gcc.x86_64
閿欒2錛歅ython.h鏈壘鐫錛岄敊璇彁紺哄涓嬶細(xì)
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c _posixsubprocess.c -o build/temp.linux-x86_64-2.7/_posixsubprocess.o
_posixsubprocess.c:3:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
瑙e喅鏂規(guī)硶錛氬畨瑁呬竴涓搴旂殑devel鐜鍗沖彲錛?br />yum -y install python-devel
5銆佹垚鍔熷畨瑁呭畬鎴恜addlepaddle鐜錛屽茍鎴愬姛榪愯paddlepaddle鎴夸環(huán)棰勬祴鐨勭ず渚嬨?img src ="http://m.tkk7.com/anchor110/aggbug/433089.html" width = "1" height = "1" />
]]>