上一页 1 ··· 146 147 148 149 150 151 152 153 154 ··· 337 下一页
摘要: REF: https://www.cnblogs.com/testlearn/p/11704984.html f-Strings语法与str.format()使用的语法类似,但较少细节啰嗦,只需要在格式化字符串前加f或F即可。看看这是多么容易可读: name = "tom" age = 2 prin 阅读全文
posted @ 2020-09-05 20:19 emanlee 阅读(314) 评论(0) 推荐(0)
摘要: Download latest epel-release rpm from http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/ https://download-ib01.fedoraproject.org/pub/epel/7/x86 阅读全文
posted @ 2020-09-05 13:48 emanlee 阅读(2621) 评论(0) 推荐(0)
摘要: #!/usr/bin/python 是告诉操作系统执行这个脚本的时候,调用/usr/bin下的python解释器; #!/usr/bin/env python 这种用法是为了防止操作系统用户没有将python装在默认的/usr/bin路径里。当系统看到这一行的时候,首先会到env设置里查找pytho 阅读全文
posted @ 2020-09-04 23:11 emanlee 阅读(541) 评论(0) 推荐(0)
摘要: [root@VM-0-2-centos webapps]# which python3/usr/bin/python3 https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/ Use “make al 阅读全文
posted @ 2020-09-04 20:03 emanlee 阅读(725) 评论(0) 推荐(0)
摘要: yum install nvidia-detect nvidia-detect -vProbing for supported NVIDIA devices...[10de:1b06] NVIDIA Corporation GP102 [GeForce GTX 1080 Ti]This device 阅读全文
posted @ 2020-09-03 22:14 emanlee 阅读(2853) 评论(0) 推荐(0)
摘要: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS&target_version=7&target_type=rpmlocal wget https:/ 阅读全文
posted @ 2020-09-03 21:48 emanlee 阅读(365) 评论(0) 推荐(0)
摘要: yum update Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/sha 阅读全文
posted @ 2020-09-03 21:04 emanlee 阅读(1318) 评论(0) 推荐(0)
摘要: nvidia-container-runtime/x86_64/signature | 488 B 00:00:00 从 https://nvidia.github.io/nvidia-container-runtime/gpgkey 检索密钥nvidia-container-runtime/x86 阅读全文
posted @ 2020-09-03 20:53 emanlee 阅读(1735) 评论(0) 推荐(0)
摘要: 1. 检查内核版本 yum info kernel -q 已安装的软件包名称 :kernel架构 :x86_64版本 :3.10.0发布 :862.el7大小 :62 M源 :installed来自源:anaconda简介 : The Linux kernel网址 :http://www.kerne 阅读全文
posted @ 2020-09-01 12:22 emanlee 阅读(6321) 评论(0) 推荐(0)
摘要: 卸载 python 2.7 rpm -qa|grep python2|xargs rpm -ev --allmatches --nodeps whereis python2 |xargs rm -frv 卸载 python3 rpm -qa|grep python3|xargs rpm -ev -- 阅读全文
posted @ 2020-09-01 09:39 emanlee 阅读(3024) 评论(0) 推荐(0)
上一页 1 ··· 146 147 148 149 150 151 152 153 154 ··· 337 下一页