会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
阁下
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
11
下一页
2022年7月9日
Conda-常用命令
摘要: ## 下载 [国内源下载-miniconda](https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/) 或 [国内源下载-anaconda](https://mirrors.tuna.tsinghua.edu.cn/anaconda/arc
阅读全文
posted @ 2022-07-09 23:08 漫漫长夜何时休
阅读(51)
评论(0)
推荐(0)
2022年6月22日
Python-字符串格式化
摘要: % Python各版本均可使用, 但不推荐使用 格式化的字符串与被格式化的值的位置必须一一对应 例如: print('name: %s, age: %s' % ('tom', '21')) | 符号 | 功能 | | :--: | : : | | %s | 格式化字符串 | | %d | 格式化整数
阅读全文
posted @ 2022-06-22 11:52 漫漫长夜何时休
阅读(172)
评论(0)
推荐(0)
2022年6月14日
opencv-python保存视频
摘要: import cv2 class WVideoManager: def __init__(self, write_path: str, width: int, height: int, FPS: int = 5, WinName: str = 'WVideoManager'): fourcc = c
阅读全文
posted @ 2022-06-14 10:08 漫漫长夜何时休
阅读(131)
评论(0)
推荐(0)
2022年4月13日
Python-安装pycocotools错误记录
摘要: 安装 pycocotools 时出现错误 fatal error: Python.h: No such file or directory 解决方式 apt-get install python3.8-dev # 对应自己的python版本
阅读全文
posted @ 2022-04-13 11:20 漫漫长夜何时休
阅读(177)
评论(0)
推荐(0)
2022年4月12日
linux-python安装pip
摘要: wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate sudo python3 get-pip.py linux 建立软连接 # 如果连接已存在 rm -rf /usr/bin/python3 # 建立软链接 ln -s /
阅读全文
posted @ 2022-04-12 18:43 漫漫长夜何时休
阅读(92)
评论(0)
推荐(0)
2022年4月11日
Docker-常用命令
摘要: 镜像操作 # 查看已有的镜像 docker images # 删除镜像 docker rmi -f (image id or image name) # 拉取镜像 docker pull image name 容器操作 # 后台运行, 将 nginx 重命名为 nginx01 并将容器的 80 端口
阅读全文
posted @ 2022-04-11 10:26 漫漫长夜何时休
阅读(40)
评论(0)
推荐(0)
2022年4月10日
Docker-配置华为云加速
摘要: 到网址点击立即使用 https://www.huaweicloud.com/intl/zh-cn/product/swr.html 登录后进入镜像服务 按要求操作即可 相关命令 vi /etc/docker/daemon.json 输入内容 { "registry-mirrors": [ "http
阅读全文
posted @ 2022-04-10 19:35 漫漫长夜何时休
阅读(424)
评论(0)
推荐(0)
Linux-Centos快速安装Docker
摘要: 卸载之前的docker sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate
阅读全文
posted @ 2022-04-10 19:08 漫漫长夜何时休
阅读(26)
评论(0)
推荐(0)
Windows家庭版-添加Hyper-V
摘要: 新建一个hyper-v.cmd文件,内容为 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt for /f %%i in ('findstr /i . hyper-v.txt 2^>nul'
阅读全文
posted @ 2022-04-10 11:31 漫漫长夜何时休
阅读(53)
评论(0)
推荐(0)
2022年4月3日
强化学习-linux安装gym、atari和box2d环境
摘要: 安装gym和atari环境 pip3 install gym pip3 install gym[atari] pip3 install gym[accept-rom-license] 安装box2d环境 安装环境 apt-get install -y swig 安装库 pip3 install bo
阅读全文
posted @ 2022-04-03 10:00 漫漫长夜何时休
阅读(453)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
11
下一页
公告