python2.7 pip默认不支持ssl解决
通过添加 trusted host参数解决,使用类似如下命令: pip install trusted host pypi.tuna.tsinghua.edu.cn opencv python i https://pypi.tuna.tsinghua.edu.cn/simple some package
通过添加 trusted host参数解决,使用类似如下命令: pip install trusted host pypi.tuna.tsinghua.edu.cn opencv python i https://pypi.tuna.tsinghua.edu.cn/simple some package
报错如下: Configure found the following issues: 解决方法办法如下: cd ~/Desktop; curl OL https://github.com/Cyan4973/xxHash/archive/v0.8.0.tar.gz; tar xvf v0.8.0.tar.gz; cd xxHash 0.8.0; make j4; su
信创电脑编译inotify的时候报错: configure: error: cannot guess build type; you must specify one. 解决办法: ./configure build=arm linux 指定arm,系统是arm的 说明: build=编译该软件所使用的平台 host=该软件将运行的平台
安装: pip install python utils pip install opencv python 注意版本问题 如果出现: TypeError: ‘NoneType’ object is not iterable 则需要安装指定版本opencv python: pip install opencv python==4.2.0.32
脚本首先检查日志文件是否存在,不存在则创建文件。 然后检索日志文件最后20行,匹配到关键字则报警。 logfile=/opt/dmdbms/log/dm dmwatcher V3X8 $ date +%Y%m .log if f "$logfile" ;then touch $logfile chmod R 777 $logfile fi format date=$ date
需要更换使用的pytinstaller版本: pip3 install pyinstaller==4.1
错误操作: 在root用户下将/lib64/libc.so.6的覆盖,导致系统瘫痪,所有用户均被强制退出。 如下示例: cp libc 2.12.1.so /lib64/libc.so.6 一旦执行了错误操作,千万不要断开当前ssh,会导致无法登录该服务器,更不要重启系统,会导致系统无法开机。 执行如下操作系统可以恢复正常 路径及具体文件名要根据系统当前情况决定 。 LD