上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 103 下一页
摘要: 一、环境 1.更新 pip3 ,建议更新 ```bash python3.8 -m pip install --upgrade pip ``` 2.更新 setuptools ```bash sudo pip3 install --upgrade setuptools ``` 不更新,报错:Prep 阅读全文
posted @ 2023-07-07 12:44 悟透 阅读(5558) 评论(0) 推荐(0)
摘要: VMware ubuntu18.04中不能复制、粘贴、拖动 1.先确认安装了 vmware tools 2.重新安装 open-vm sudo apt-get install open-vm-tools-desktop -y 安装过程提示覆盖,选择Y 3.如安装过了,在终端手动执行命令启动: 任意目 阅读全文
posted @ 2023-07-07 10:06 悟透 阅读(1750) 评论(0) 推荐(2)
摘要: pydoc 是一个能生成网页版的模块,内置模块 命令: ```bash python -m pydoc -p 1234 ``` > -m 加载模块 > -p 网页访问端口 命令行: ![image](https://img2023.cnblogs.com/blog/597729/202307/597 阅读全文
posted @ 2023-07-06 18:57 悟透 阅读(257) 评论(0) 推荐(0)
摘要: pip默认用的是 https://pypi.org/simple/pip/ 国外源,慢。 一、临时切换源 py2: pip install 模块名 -i http://pypi.doubanio.com/simple --trusted-host pypi.doubanio.com py3: pip 阅读全文
posted @ 2023-07-06 09:59 悟透 阅读(748) 评论(0) 推荐(0)
摘要: **Defaulting to user installation because normal site-packages is not writeable** ![image](https://img2023.cnblogs.com/blog/597729/202307/597729-20230 阅读全文
posted @ 2023-07-05 18:36 悟透 阅读(1361) 评论(0) 推荐(0)
摘要: 1.git在日志中查找这个文件. git log --pretty=oneline --branches -- 文件名 或 git log --pretty=oneline --branches -- 文件夹名 注意:--后和文件(夹)名前,必须要有空格 筛选参数 [注] 1)按数量 -n:显示前n 阅读全文
posted @ 2023-07-05 11:01 悟透 阅读(3970) 评论(0) 推荐(0)
摘要: 拉取远程仓库所有的分支到本地 ```bash for i in $(git branch -r); do $(git checkout $i && git pull --all); done ``` 参考: https://www.zhihu.com/question/54419234/answer 阅读全文
posted @ 2023-07-05 10:51 悟透 阅读(171) 评论(0) 推荐(0)
摘要: ## 一、先知 要解决 模块 和 so 文件不存在问题,先要知道旧的环境中 相应文件位置 看这篇文章: https://www.cnblogs.com/wutou/p/17534693.html ## 二、报错内容: ubuntu1804编译升级 Python3.8.0 打不开终端、输入不存在的命令 阅读全文
posted @ 2023-07-04 17:44 悟透 阅读(29153) 评论(1) 推荐(0)
摘要: 一、下载源码 1.1 国外官方站,下载: 3.8:https://www.python.org/ftp/python/3.8.17/Python-3.8.17.tgz 3.9:https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz 1.2 阅读全文
posted @ 2023-07-04 12:25 悟透 阅读(2073) 评论(0) 推荐(1)
摘要: git 提交说明规范: 图片版: ![image](https://img2023.cnblogs.com/blog/597729/202306/597729-20230630155612568-1146470208.png) 文字版: 提交格式如下: 格式start > \\[scope\]: \ 阅读全文
posted @ 2023-06-30 15:57 悟透 阅读(1859) 评论(0) 推荐(0)
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 103 下一页