linux 安装 Python 请参考 我的博客; 按照教程安装完毕后,没问题,但在使用 第三方包时,出现 Illegal instruction,并直接退出 Python; 解决方法: 在环境变量里加入 export OPENBLAS_CORETYPE=ARMV8 ...
分类:
编程语言 时间:
2021-05-24 16:02:37
阅读次数:
0
f = open(r'data6_1.txt') f1=open('data6_2.txt','w') a = list(f) a.sort(key=lambda x : x[8:]) a.reverse() for i in a: i=i.strip('\n') f1.write(''.join( ...
分类:
其他好文 时间:
2021-05-24 14:43:52
阅读次数:
0
关于k8s部署错误解决 错误信息 Warning FailedCreatePodSandBox 89s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox c ...
分类:
数据库 时间:
2021-05-24 14:33:36
阅读次数:
0
截止到2021年4月份,还是有朋友问我,为什么使用乐心健康刷步数进行设置的时候,会提示"当前设备未连接,无法打开数据共享功能"这样的错误提示。 为什么会出现这样的提示 因为,之前,主流的刷步数的方法都是通过乐心健康APP来实现的。基于此,乐心健康官方进行了一系列的升级操作,屏蔽了常规的刷步数的方法。 ...
分类:
其他好文 时间:
2021-05-24 14:31:39
阅读次数:
0
报错信息: 报错代码: 报错原因: 期望布尔值,得到字符串 1 解决方法: 解决: ...
分类:
其他好文 时间:
2021-05-24 14:19:10
阅读次数:
0
with open('data1_1.txt', 'r', encoding = 'utf-8') as f: data=f.readlines()n = 0for line in data: if line.strip('\n') == '': continue n+=1print(f'共{n}行 ...
分类:
其他好文 时间:
2021-05-24 14:12:19
阅读次数:
0
安装pymysql报错: TypeError: 'encoding' is an invalid keyword argument for this function Command "python setup.py egg_info" failed with error code 1 in c:\ ...
分类:
数据库 时间:
2021-05-24 13:57:46
阅读次数:
0
1、VMware12 与 Centos7 能互相复制粘贴,且VMtools已经安装; 2、在设置选项里面设置共享文件夹时,没有效果,/mnt目录下没有hgfs文件夹; (1)yum install -y open-vm-tools-devel (2)没有hgfs文件夹创建一个就是了; (3)挂载:v ...
分类:
系统相关 时间:
2021-05-24 13:17:33
阅读次数:
0
jsoncpp是一个用于操作json数据的C++开源库 代码地址:https://github.com/open-source-parsers/jsoncpp 使用文档:http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.h ...
分类:
Web程序 时间:
2021-05-24 12:49:23
阅读次数:
0
x = [] f = open('C:\\Users\\J&K\\Desktop\\实验4文档相关代码和数据文件\\实验4文档相关代码和数据文件\\data6_1.txt', encoding='utf_8') y = f.readlines() for i in y: x.append(i.str ...
分类:
其他好文 时间:
2021-05-24 12:37:04
阅读次数:
0