- 博客(5)
- 收藏
- 关注
原创 python ctrl-c 无法终止 multiprocessing pool
python ctrl-c 无法终止 multiprocessing poolgithub pages: perfectnewer.gitub.iogitee pages: perfectnewer.gitee.io文章目录前言问题1:在multiprocessing中ctrl-c 无法终止运行先说解决方案:此处贴上stack overflow的代码此处放上我的代码逻辑根本原因:`Condition.wait`问题2:pool中放入了过多的待处理任务问题3:内存泄漏前言最近对一个线上脚本进
2021-09-19 13:49:00
1045
原创 git: fatal: refusing to merge unrelated histories
git: fatal: refusing to merge unrelated histories记录使用git过程中遇到的问题文章目录git: fatal: refusing to merge unrelated histories前言问题过程记录更换仓库后拉取代码报错merge 也报同样错误原因前言更换仓库后git pull代码报错:fatal: refusing to merge unrelated histories 解决方案传送 事后证明,是我自己设置错了仓库。所以,遇到这个错误
2021-09-12 16:07:46
276
原创 git: shallow update not allowed
git: shallow update not allowedemmmm 更换仓库的历程充满了坎坷。今天在笔记本上换成新仓库。准备push,然而问题来了: ! [remote rejected] master -> master (shallow update not allowed)[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-uRG4Q6J8-1631427535203)(…/…/_resources/250ab34882b5451e8c7eb6306d7a3
2021-09-12 15:50:54
3784
原创 git: 记一次更换git远程仓库引发的问题
记一次更换git远程仓库引发的问题文章目录记一次更换git远程仓库引发的问题重命名添加remote在两个仓库都有内容的情况下更换 originrename出现的pull的仍然是旧repo的问题简短版整个历程最近把git仓库从github切换到gitee。然而在本地更换repo的时候遇到一些问题,各种谷歌也没解决掉,具体表现如下:更换到gitee后执行git pull仍然使用的是旧repo,(github)的问题。因此整理一下git重命名repo的操作解决方法传送门重命名git remote re
2021-09-08 21:48:39
926
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人