-
pip后面的清华镜像源地址
2020-09-16 11:50:56pip install XXXX -i https://pypi.tuna.tsinghua.edu.cn/simplepip install XXXX -i https://pypi.tuna.tsinghua.edu.cn/simple
-
清华镜像源地址_PyCharm安装第三方库(内含添加国内镜像源方法)
2020-12-03 02:42:58右上角+号(添加解释器)先添加国内镜像源打开之后之前没有添加国内镜像源的先添加国内镜像源,如果使用默认源则很可能安装极慢然后安装失败。具体操作点击Manage Repositories(管理仓库)打开之后点击右上角...PyCharm添加第三方库
左上角File-->Setting
找到Project:自己的项目名(项目)-->点击Project interpreter(项目解释器)-->右上角+号(添加解释器)
先添加国内镜像源
打开之后之前没有添加国内镜像源的先添加国内镜像源,如果使用默认源则很可能安装极慢然后安装失败。具体操作点击Manage Repositories(管理仓库)
打开之后点击右上角+号-->文本框中键入清华源地址-->点击OK-->点击OK,这样的清华源就添加好了。还可以选择其他的国内源,以下几个都可以:
清华: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/
之后从上面的搜索框中键入自己要安装的三方库(右下角选中Specify version 还可以选择特定版本)-->找到之后下面点击Install Package进行安装
安装好之后下面会installed successfully有提示信息:
之后就enjoy啦..
其他方法:
直接左下角点击Terminal-->键入pip命令,比如:
pip install numpy
点回车就OK了!
-
永久设置python清华镜像源_pip源很慢,更改成清华的镜像地址
2020-12-20 10:26:07因为是使用国外的镜像解决方法安装时更改镜像地址如我需要安装beautifulsoup4则pip install -i https://pypi.tuna.tsinghua.edu.cn/simple beautifulsoup4参数-i制定源国内镜像地址清华:...对吧 -_-||
正文
在使用pip安装python包是会很慢, 因为是使用国外的镜像
解决方法
安装时更改镜像地址
如我需要安装beautifulsoup4
则
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple beautifulsoup4
参数-i制定源
国内镜像地址
清华:https://pypi.tuna.tsinghua.edu.cn/simple
实例输出
C:\Users\13570>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple beautifulsoup4
Collecting beautifulsoup4
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/3b/c8/a55eb6ea11cd7e5ac4bacdf92bac4693b90d3ba79268be16527555e186f0/beautifulsoup4-4.8.1-py3-none-any.whl (101kB)
100% |████████████████████████████████| 102kB 148kB/s
Collecting soupsieve>=1.2 (from beautifulsoup4)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/81/94/03c0f04471fc245d08d0a99f7946ac228ca98da4fa75796c507f61e688c2/soupsieve-1.9.5-py2.py3-none-any.whl
Installing collected packages: soupsieve, beautifulsoup4
Successfully installed beautifulsoup4-4.8.1 soupsieve-1.9.5
You are using pip version 9.0.3, however version 19.3.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\13570>python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
Collecting pip
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 819kB/s
Installing collected packages: pip
Found existing installation: pip 9.0.3
Uninstalling pip-9.0.3:
Successfully uninstalled pip-9.0.3
Successfully installed pip-19.3.1
C:\Users\13570>
参考-清华大学镜像文档:Tsinghua Open Source Mirrormirrors.tuna.tsinghua.edu.cn
首发链接:首发来自微信公众号: 程序员品mp.weixin.qq.com
-
ubuntu 20.04上用清华镜像源安装ROS-foxy
2020-10-20 10:59:54添加ros2清华镜像源地址 sudo sh -c 'echo "deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-latest.list' 获取ROS2公钥 curl ...添加ros2清华镜像源地址
sudo sh -c 'echo "deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-latest.list'
获取ROS2公钥
curl http://repo.ros2.org/repos.key | sudo apt-key add -
更新系统
sudo apt-get update
安装ros-foxy
sudo apt install ros-foxy-desktop
验证安装的ROS2
ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_py listener -
Fedora配置清华镜像源或者阿里云镜像源
2020-12-03 09:52:511.配置阿里镜像源(地址:https://developer.aliyun.com/mirror/fedora) 简介 Fedora 是一个 Linux 发行版,是一款由全球社区爱好者构建的面向日常应用的快速、稳定、强大的操作系统。它允许任何人自由地使用、... -
使用清华镜像源安装pytorch失败的解决办法(官方源问题和SSL证书认证两种情况)
2021-03-20 14:11:36网上找了很多方法,都是说的源的问题,也有各种解决办法,大多解决方法都是集中在将源地址换为清华的镜像(清华镜像源地址),做法都是把.condarc里面的内容替换掉,可以参考网上大多数做法。 第二种情况:缺少ssl... -
conda清华镜像源_python开发环境conda换清华源
2021-01-18 23:44:29清华源地址:Tsinghua Open Source Mirrormirrors.tuna.tsinghua.edu.cn查看源地址:conda config --show channels添加源:conda config --add channels Tsinghua Open Source Mirror conda... -
Ubuntu apt-get、pip、conda添加清华镜像源(conda镜像源现已恢复!!)
2019-05-16 16:49:12apt在etc/apt/sources.list 里记录了官方库的地址(美国),但是速度不能保证,可以添加清华镜像源: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 1. 获取root权限 sudo -s 2. 备份sources.list cp ... -
conda使用清华镜像源创建虚拟环境失败
2020-09-16 22:04:08开始以为网络问题,搜索发现,清华大学开源软件镜像站,未能取得 Anaconda 和 Miniconda 公开镜像授权,2019年5月份停止 Anaconda 镜像服务,之前使用清华的镜像源需要恢复切换至官方下载地址,或者国内的其他镜像源... -
Ubuntu20.04和Ubuntu18.04更换清华镜像源
2020-09-29 15:48:551: 备份Ubuntu默认的源地址 在终端输入:sudo cp /etc/apt/...4:从清华镜像源中寻找自己所需替换的镜像源 https://mirrors.tuna.tsinghua.edu.cn/ 5:将找到的镜像源复制下来 deb https://mirrors.tuna.tsinghua.ed -
openJDK清华镜像源&安装
2021-03-03 09:37:091.openJDK8清华镜像地址 https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/8/jdk/x64/windows/ 2.好多下载选项,选择哪一个呢 msi版本是安装程序,推荐初学者使用安装程序 64位有hotspot、openj9两种jvm类型,... -
清华conda源下不了torch_conda安装pytorch所需要的正确清华镜像源
2020-12-19 14:21:25windows conda下安装Pytorch使用默认源太慢,网络上找的清华,中科大镜像源安装总是提示An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will ... -
清华镜像源_jenkins 获取插件,下载插件提速,配置国内镜像
2021-01-12 00:00:47正确的做法自然是修改为国内的镜像源,本文使用的是清华大学的镜像源站 清华大学开源软件镜像站主要分以下两种情况1. 尚未安装的的情况本文使用 war 其他类似1.1 下载包下载地址 jenkins.war 下载地址1.2 启动仅仅... -
anaconda 源_conda安装pytorch所需要的正确清华镜像源
2020-12-28 22:32:09windows conda下安装Pytorch使用默认源太慢,网络上找的清华,中科大镜像源安装总是提示An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will ... -
pycharm使用清华镜像源提高下载速度 只需要五步完成
2020-06-10 15:06:30pycharm使用清华镜像源提高下载速度 国内pip源:清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 第一步:打开pycharm找到如下图所示 第二步:打开Settings 第三步:点击+后,点击如下图所示 第四步:继续... -
Ubuntu apt-get、pip、conda添加清华镜像源
2018-07-24 19:31:04apt在etc/apt/sources.list 里记录了官方库的地址(美国),但是速度不能保证,可以添加清华镜像源 1. 备份sources.list cp sources.listsources.list .bak 2. 修改sources.list 清空sources.list ... -
Python 使用清华大学镜像源
2019-05-09 17:12:18官方地址 首先,如果只是临时下载一个包 那么可以使用 ... 如果是永久修改镜像源 pip install pip -U pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 如果网络不好... -
python镜像源地址
2020-01-02 23:36:57python默认镜像源地址: https://pypi.python.org/simple python国内镜像源地址: 清华:https://pypi.tuna.tsinghua.edu.cn/simple 豆瓣:http://pypi.douban.com/simple/ 阿里云:... -
Homebrew切换镜像源(中科大&清华镜像)
2019-07-20 15:20:47零、Homebrew 镜像地址(推荐中科大镜像) 1、brew.git 镜像 中科大镜像:...清华镜像:https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git GitHub镜像:https://github.co... -
修改PIP安装源为清华镜像地址
2018-10-27 22:07:35pypi 镜像使用帮助 pypi 镜像每 5 分钟同步一次。 临时使用 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package 注意,simple 不能少, 是 https 而不是 http 设为默认 升级 pip 到... -
【python】一 Anaconda 清华开源软件镜像源地址
2019-05-17 20:46:56下载地址: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ -
解决conda设置清华镜像源并安装pytorch时网速问题以及中断问题
2021-03-03 17:40:56在很多博客中提到,由于pytorch的默认下载地址在外网,所以会导致我们国内用户下载较慢,所以我们需要在Anaconda的Anaconda prompt中输入如下命令行以设置清华镜像源: conda config --add channels ... -
国内镜像源地址
2020-09-17 00:32:31国内常用源镜像地址: 有时候安装一些依赖包,网速慢,直接超时,可以指定国内源镜像。 pip install -i 国内镜像地址 包名 例如: pip install -i https://mirrors.aliyun.com/pypi/simple/ numpy 国内常用源镜像... -
Ubuntu系统更改为清华镜像源和pip升级
2019-10-24 11:00:40更新源的两种方法:################################################## 手动更新: ...号,找到目前你使用的版本–复制那些更新源的链接 然后备份Ubuntu默认的源地址 sudo cp /etc/apt/sources.list /etc/apt/sou... -
pip清华源(清华大学国内镜像)安装地址
2020-12-07 13:55:17python环境在安装源文件时使用默认安装很慢,使用国内清华源速度比较快,地址如下: https://pypi.tuna.tsinghua.edu.cn/simple 临时使用 可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple ... -
国内各大机构镜像源地址
2020-03-11 21:24:53国内各种机构的镜像源网址,-i为一次性使用。有腾讯云、阿里云、清华大学等 -
ubuntu 下更改国内清华大学镜像源
2019-12-04 10:24:171.备份原有镜像源地址 sudo cp etc/apt/sources.list etc/apt/sources.list.bak2 2.打开镜像源 sudo gedit etc/apt/sources.list 3.再网上找到对应ubuntu 版本的镜像源地址 替换原有地址 ... -
python-清华大学镜像源
2020-03-15 22:49:50官方地址:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ 首先,如果只是临时下载一个包,那么可以使用 ...1 如果是永久修改镜像源 pip install pip -U #升级 pip 到最新的版本 (>=10.0.0)...