![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
踩过的坑
红浅
这个作者很懒,什么都没留下…
展开
-
windows关于python环境的操作
退出python 环境 输入exit()或者 ctrl+z+回车键 查看conda有哪些虚拟环境 conda info -e 激活\退出conda环境 conda activate 环境名称 conda deactivate原创 2021-12-21 14:40:57 · 486 阅读 · 0 评论 -
pip 设置国内镜像,提升速度
国内镜像列表: 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 中国科学技术大学 htt...原创 2020-04-29 18:52:13 · 121 阅读 · 0 评论 -
安装包时 报错pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted
解决方法:延迟时间检测 pip --default-timeout=1000 install 模块名原创 2020-04-29 16:43:13 · 368 阅读 · 0 评论 -
git本地代码推送到远程 fatal: refusing to merge unrelated histories
本地的建立了一个项目,在已完成部分代码的情况下,想推送到远程,于是在远程对应建了项目名称,但在提交时,报如下错: get到github初始化项目时新建了readme文件,应该pull下,但还是报错 主要是在pull是远程认为本地项目与远程对应的不相关,执行:git pull origin master --allow-unrelated-histories 强制认为相关就OK了 ...原创 2020-04-28 17:38:35 · 118 阅读 · 0 评论