常见错误
提示/etc/ld.so.conf错误的时候,可以拷贝文件到相应目录:
cp /etc/ld.so.conf /opt/glibc-2.18/etc/ld.so.conf
sudo vi /etc/ld.so.conf
/sbin/ldconfig -v
./configure --with-ensurepip --enable-shared --enable-unicode=ucs2 --prefix=/usr/local/python27
centos安装bazel
yum install bazel
升级python
python2.7
cd python2.7
./configure --with-ensurepip --enable-shared --enable-unicode=ucs4
build
bazel build -c opt --copt=-O tensorflow_serving/...