Posts

Showing posts with the label centos7

No packages marked for update on CentOS 7

Image
Clash Royale CLAN TAG #URR8PPP No packages marked for update on CentOS 7 I have installed Cent OS 7 on my machine. Everything was working fine until today when I entered sudo yum update I receive following - sudo yum update sudo yum update Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos.mirror.net.in * elrepo: elrepo.reloumirrors.net * epel: mirror.nes.co.id * extras: mirrors.fibergrid.in * nux-dextop: mirror.li.nux.ro * rpmfusion-nonfree-updates: www.mirrorservice.org * updates: mirrors.fibergrid.in No packages marked for update ` I have tried every possible method provided on the internet but I'm still stuck. # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= doe...

build tensorflow/serving for python3 failed

Image
Clash Royale CLAN TAG #URR8PPP build tensorflow/serving for python3 failed System information OS Platform and Distribution: Linux CentOS7.2 TensorFlow Serving installed from (source or binary): Source TensorFlow Serving version: r1.9 Python Version: 3.6.2 Describe the problem The centos7.2 install python2.7 defaultly, I want to build tensorflow-serving for python3, So I use the pyenv to install a python3.6.2, and in the pyenv virtualenv, I cloned the tensorflow/serving r1.9, to bazel build it from source. But the at last it failed becase of "import mork" error. I saw in the serving/tools/bazel.rc file, it use the /usr/bin/python as python runner, so I changed the file to my python3.6.2, but failed again. with error like " _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) ImportError: /home/pyenv/.cache/bazel/_bazel_pyenv/3e832003f40725f2f414b6fe95aca127/execroot/tf_serving/bazel-out/host/bin/external/org_tensorflow/ten...