pip安装超时,更换国内镜像源安装】的更多相关文章

pip安装超时问题 pip install --index 源地址 安装包 常用镜像源地址: http://pypi.douban.com/ 豆瓣 http://pypi.mirrors.ustc.edu.cn/ 中国科学技术大学 http://mirrors.aliyun.com/pypi/simple/ 阿里云…
Linux中当我们需要安装某个模块时(比如tensorflow2.0.0),常见有三种方法: pip install tensorflow==2.0.0 pip install https://pypi.douban.com/simple tensorflow==2.0.0 pip install -i https://pypi.douban.com/simple --trusted-host pypi.douban.com tensorflow==2.0.0 第一种是最为基础简单的使用国外源安…
今天在安装Python模块matplotlib的时候,一直安装不成功,老是提示“socket.timeout: The read operation timed out”或者“Read timed out.” 因为国内的网络访问国外延迟很高,所以安装模块很慢就不说了,还一定安装不上. [root@localhosts ~]# pip3 install --user matplotlib WARNING: Running pip install with root privileges is ge…
1 使用命令安装 npm install webpack --save-dev 可能是版本太高,国内没有更新. 通过设置镜像源 npm config set registry http://registry.npmjs.org/ 然后再安装 npm install webpack --save-dev…
1.pipy国内镜像目前有: 阿里云  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/  中国科学技术大学  http://pypi.mirrors.ustc.edu.cn/simpl…
原文转载自「刘悦的技术博客」https://v3u.cn/a_id_149 2020年,这年头如果出去面试和面试官不聊几句Docker,都不好意思说自己是搞开发的.之前玩儿Docker都是在Mac系统里,没碰到过什么大问题,不过Docker这种容器技术本身就对Unix内核的系统天生友好,毕竟人家身体里流淌着linux的纯血基因,但是Docker对于Windows系统就显得不那么平易近人了,对待win10用户就有点矫情了,除了要求必须是64位系统以外,还必须要求系统版本是专业版,而家庭版用户想要一…
apt 原文件备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 编辑源列表文件 sudo vim /etc/apt/sources.list 将原来的列表删除,添加如下内容(中科大镜像源) deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse deb http://mirrors.ustc.edu.cn/ubuntu/…
由于官网未开放同步方式, 可能会有索引gpg检查失败的情况, 这时请用 yum install -y --nogpgcheck kubelet kubeadm kubectl 安装 Debian / Ubuntu apt-get update && apt-get install -y apt-transport-https curl https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add - cat…
使用 Composer 镜像加速有两种选项: 选项一:全局配置,这样所有项目都能惠及(推荐):选项二:单独项目配置: 选项一.全局配置(推荐) $ composer config -g repo.packagist composer https://packagist.laravel-china.org 选项二.单独使用 如果仅限当前工程使用镜像,去掉 -g 即可,如下: $ composer config repo.packagist composer https://packagist.la…
本文转载自:https://blog.csdn.net/yucicheung/article/details/79095742 问题描述 基于国内网速的问题,我们直接pip安装包通常速度非常慢,而且经常会出现装到一半失败了的问题,既然这样,我们就要充分利用国内镜像的力量,节省时间,明显提高pip安装的效率.以下是我的操作分享,一共分为永久置换和暂时置换两种方法. 国内镜像源列表 豆瓣(douban) http://pypi.douban.com/simple/ (推荐) 清华大学 https:/…
最近通过python安装一些常用库发现下载速度特别慢,而且还会出现无法安装等错误,尝试找了一些国内的镜像源,发现阿里云的速度很快,这里做个记录,并分享给大家. 国内镜像源 阿里云:http://mirrors.aliyun.com/pypi/simple/  (推荐使用) 清华大学:https://pypi.tuna.tsinghua.edu.cn/simple 豆瓣:http://pypi.douban.com/simple/ 临时使用 在使用pip的时候加参数 -i http://mirro…
国内镜像源 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学:http://pypi.hustunique.com/ 山东理工大学:http://pypi.sdutlinux.org/ 豆瓣:http://pypi.douban.com/simple/ 临时使用 在…
一.yum更换国内仓库源 cd /etc/yum.repos.d/ rm -f dvd.repo wget http://mirrors.163.com/.help/CentOS7-Base-163.repo 或者 curl -O http://mirrors.163.com/.help/CentOS7-Base-163.repo yum list [root@davery ~]# cd /etc/yum.repos.d[root@davery yum.repos.d]# [root@daver…
pipenv install django超级慢,卡住不动,最后不得不CTRL+C中止 这时有必要改成国内源了,打开Pipfile文件,发现内容是: [[source]] verify_ssl = true name = "pypi" url = "https://pypi.org/simple" [packages] [dev-packages] [requires] python_version = "3.4" 把url替换成阿里云源(这里国…
python中pip添加国内镜像源后显著加速下载 更换pip源到国内镜像,很多国外的库下载非常慢,添加国内镜像后安装下载速度提升非常明显(亲测有些可以由几十kb加速到几MB) pip国内的一些镜像阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣(douban) http://pypi.douban.com/simple/ 清华大学 https://pypi.t…
安装lavavel步骤: 安装composer (需要开启php_openssl扩展,否则报错) (https://getcomposer.org/) 到github下载laravel的最新发行版 (https://github.com/laravel/laravel/releases) 把下载的laravel-*.zip 解压缩到项目目录 通过composer安装依赖插件:composer install (vendor目录,需要开启php的php_fileinfo,php_gd2扩展) 说明…
现在做开发可是真的不容易,好像不论哪一个语言当你使用到包管理工具的时候都要进行一些网络的配置,否则速度慢如龟,无论是 maven 还是 npm 又或者是我们要说的 pip. 更换国内的源好像已经是必备的小技能了. 阿里云 http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣 http://pypi.douban.com/simple/ 清华大学 https://pypi.…
python安装第三方库--换镜像源 1. 更换anaconda源 清华大学镜像:清华大学镜像 anaconda下载地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 更换仓库镜像源命令: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mi…
我们需要安装一些Python的第三方库,但是使用  pip install + 第三方库  的时候,会出现下载速度慢的问题,当然我们也可以使用国内的源安装. 例如: sudo pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ + 第三方库 这样的话,速度提升的非常的快.…
Docker手动安装mysql 1.创建centos镜像的容器 [root@localhost Tools]# docker run -i -d -h zabbix --name zabbix -p 3306:3306 --privileged=true -v /sys/fs/cgroup:/sys/fs/cgroup centos:7 /usr/sbin/init 2.进入容器 [root@localhost Tools]# docker exec -it zabbix /bin/bash 3…
原文:https://blog.csdn.net/p__csdn/article/details/72675840 https://tinpont.com/2017/fix-yum-download-mariadb-slow/--------CentOS下解决yum下载MariaDB 10.1过慢的问题 我用的CentOS 7 系统,其他Linux 发行版也可以参考.主要说一下如何使用 国内 镜像加速安装. 进入 MariaDB 的下载页面,可以看到: 右边可以选择 需要安装的平台.需要的安装包…
把eclipse 4.x的界面改为经典样式 打开eclipse,菜单栏>windows>preference>general>appearance>theme>classic>ok,如下图:…
1. 为conda配置(清华)镜像源 使用conda进行安装时,访问的是国外的网络,所以下载和安装包时会特别慢.我们需要更换到国内镜像源地址,这里我更换到国内的清华大学地址.(永久添加镜像) Windows和Linux 对于conda修改镜像源的方法一样 1.添加清华镜像: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels…
pip 常用命令 pip install ./downloads/SomePackage-1.0.4.tar.gz pip install http://my.package.repo/SomePackage-1.0.4.zip pip search "query" ##查询package的具体名称 pip uninstall package-name ##卸载 pip install SomePackage==1.0.4 ##指定版本的安装 pip install --upgrade…
让 python pip 使用国内镜像源 国内镜像源: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学:http://pypi.hustunique.com/ 山东理工大学:http://pypi.sdutlinux.org/ 豆瓣:http://pypi.dou…
Mono软件Ubuntu系统国内镜像源.Mono国内镜像源 http://download.githall.cn/repo 替换为国内源(非官方)有利于加快mono的安装速度,一般情况下,完成mono的安装需要2个小时左右(视网速而定),使用Mono国内镜像源(非官方)http://download.githall.cn/repo 以后,在十分钟内就可以完成Mono的安装,大大加快了安装速度. 1.授权注册repo源 Ubuntu 18.04 (i386, amd64, armhf, arm64…
问题 我们在Jenkins里面经常会遇到安装插件很慢,这是由于我们使用的是更新中心镜像默认为国外的源.现在我们可以进行设置为国内镜像源,来解决安装插件慢的问题. 解决办法 安装插件localization-zh-cn(Localization: Chinese (Simplified)). 如果你已经安装了该插件,但是没有看到下面的相关提示,建议更新这个插件,因为这个插件是新版本才有这个功能的. 重启 Jenkins 在 Jenkins 的右下角我们可以看到 Jenkins 中文社区,点击这个.…
转自:http://www.cnblogs.com/duking1991/p/6110192.html maven更换下载镜像源-解决下载慢问题   Maven是当前流行的项目管理工具,但官方的库在国外经常连不上,连上也下载速度很慢.国内oschina的maven服务器很早之前就关了.今天发现阿里云的一个中央仓库,亲测可用. 1 <mirror> 2 <id>alimaven</id> 3 <mirrorOf>central</mirrorOf>…
国内镜像源: 阿里云:https://mirrors.aliyun.com/pypi/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ 中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/ 豆瓣:https://pypi.douban.com/simple/ 示例:pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple 如…
1.删除默认的源 helm repo remove stable 2.增加新的国内镜像源 helm repo add stable https://burdenbear.github.io/kube-charts-mirror/ 3.查看helm源添加情况 helm repo list 4.搜索测试 helm search mysql 5.参考:https://github.com/BurdenBear/kube-charts-mirror…