用docker部署tensorflow-serving:gpu时,参照官方文档:https://tensorflow.google.cn/tfx/serving/docker 本应该是很简单的部署,没想到会一直出现这个错误: 经过github和网上的一个朋友了解到,关键问题可能是服务器机器的cpu比较弱(原来是我的cpu确实比较弱:我是在服务器分出来的一个虚拟机上部署的,本质是一个虚拟机,不是一个实体机.) 我的解决方式:将虚拟机更换为实体机,从服务器上直接分出一块CPU供部署使用,然后就解决了…
/********************************************************************************* * httpd: config error '*.php:/usr/bin/php-cgi' in '/etc/httpd.conf' * 说明: * 打开了httpd功能,但是没有打开支持脚本功能. * * 2018-1-23 深圳 宝安西乡 曾剑锋 ****************************************…
psutil是一个特别好用来检查系统资源的一个包, 但是 在Mac安装却总是报错 查看监控系统脚本, 点这里 mac系统版本: Macos Mojave 10.14.3 报错信息如下: WARNING: The directory '/Users/msw/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please…
参考链接:https://blog.csdn.net/ltz150/article/details/77870735 1.背景: CentOS 7升级Python到3.6.2后,需要在/usr/bin/python创建了一个指向Python 3的软连接,然后将/usr/bin/yum的顶部的: !/usr/bin/python 遇到的问题报错如下: File "/usr/bin/yum", line 30     except KeyboardInterrupt, e: 通过看报错可以…
出现这个错误的原因是出错的语句后面多了“\r”这个字符,换言之,脚本文件格式的问题,我们只需要把格式改成unix即可: vi xx.sh :set ff :set ff=unix :wq!…
sublime text2突然crash,无法简单粗暴的关闭,就开始认真解决这个问题. 问题: 参考文献:https://github.com/wbond/package_control/issues/1002 Package Control only dumps the trust settings about once a week since it can take a few seconds to do so. This is most likely why you only see i…
将生产服务器的Tomcat目录打包过来后解压后,启动Tomcat后,发现如下问题: # ./shutdown.sh  Using CATALINA_BASE:   /usr/local/tomcat  Using CATALINA_HOME:   /usr/local/tomcat  Using CATALINA_TMPDIR: /usr/local/tomcat/temp  Using JRE_HOME:       /usr/java/jdk1.7.52 /usr/local/tomcat/…
原文:https://blog.csdn.net/reblue520/article/details/52588825 将生产服务器的Tomcat目录打包过来后解压后,启动Tomcat后,发现如下问题: # ./shutdown.sh  Using CATALINA_BASE:   /usr/local/tomcat  Using CATALINA_HOME:   /usr/local/tomcat  Using CATALINA_TMPDIR: /usr/local/tomcat/temp …
原文网址:http://stackoverflow.com/questions/3373995/usr-bin-ld-cannot-find-lz I am trying to compile Android source code under Ubuntu 10.04. I get an error saying, /usr/bin/ld: cannot find -lzCan you please tell me how can I fix it? What does cannot find…
the Zimbu programming language http://www.zimbu.org/getting-started ------------------------------------------------------------------------------ #!/usr/bin/env 在linux的一些bash的脚本,需在开头一行指定脚本的解释程序,如: #!/usr/bin/env python 再如: #!/usr/bin/env perl #!/usr…