mirrors.tuna.tsinghua.edu.cn Open in urlscan Pro
2402:f000:1:400::2  Public Scan

Submitted URL: http://pypi.tuna.tsinghua.edu.cn/
Effective URL: https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
Submission: On October 19 via api from RU — Scanned from DE

Form analysis 12 forms found in the DOM

<form class="form-inline">
  <div class="form-group"> <label>选择帮助条目: </label> <select class="form-control" id="help-select">
      <option data-help-url="/help/AOSP/" id="toc-AOSP">AOSP</option>
      <option data-help-url="/help/Adoptium/" id="toc-Adoptium">Adoptium</option>
      <option data-help-url="/help/CPAN/" id="toc-CPAN">CPAN</option>
      <option data-help-url="/help/CRAN/" id="toc-CRAN">CRAN</option>
      <option data-help-url="/help/CTAN/" id="toc-CTAN">CTAN</option>
      <option data-help-url="/help/CocoaPods/" id="toc-CocoaPods">CocoaPods</option>
      <option data-help-url="/help/NetBSD/" id="toc-NetBSD">NetBSD</option>
      <option data-help-url="/help/OpenBSD/" id="toc-OpenBSD">OpenBSD</option>
      <option data-help-url="/help/OpenMediaVault/" id="toc-OpenMediaVault">OpenMediaVault</option>
      <option data-help-url="/help/alpine/" id="toc-alpine">alpine</option>
      <option data-help-url="/help/anaconda/" id="toc-anaconda">anaconda</option>
      <option data-help-url="/help/anthon/" id="toc-anthon">anthon</option>
      <option data-help-url="/help/arch4edu/" id="toc-arch4edu">arch4edu</option>
      <option data-help-url="/help/archlinux/" id="toc-archlinux">archlinux</option>
      <option data-help-url="/help/archlinuxarm/" id="toc-archlinuxarm">archlinuxarm</option>
      <option data-help-url="/help/archlinuxcn/" id="toc-archlinuxcn">archlinuxcn</option>
      <option data-help-url="/help/armbian/" id="toc-armbian">armbian</option>
      <option data-help-url="/help/bazel-apt/" id="toc-bazel-apt">bazel-apt</option>
      <option data-help-url="/help/binutils-gdb.git/" id="toc-binutils-gdb.git">binutils-gdb.git</option>
      <option data-help-url="/help/bioconductor/" id="toc-bioconductor">bioconductor</option>
      <option data-help-url="/help/blackarch/" id="toc-blackarch">blackarch</option>
      <option data-help-url="/help/centos/" id="toc-centos">centos</option>
      <option data-help-url="/help/centos-altarch/" id="toc-centos-altarch">centos-altarch</option>
      <option data-help-url="/help/centos-stream/" id="toc-centos-stream">centos-stream</option>
      <option data-help-url="/help/centos-vault/" id="toc-centos-vault">centos-vault</option>
      <option data-help-url="/help/ceph/" id="toc-ceph">ceph</option>
      <option data-help-url="/help/clojars/" id="toc-clojars">clojars</option>
      <option data-help-url="/help/crates.io-index/" id="toc-crates.io-index">crates.io-index</option>
      <option data-help-url="/help/crates.io-index.git/" id="toc-crates.io-index.git">crates.io-index.git</option>
      <option data-help-url="/help/cygwin/" id="toc-cygwin">cygwin</option>
      <option data-help-url="/help/dart-pub/" id="toc-dart-pub">dart-pub</option>
      <option data-help-url="/help/debian/" id="toc-debian">debian</option>
      <option data-help-url="/help/debian-elts/" id="toc-debian-elts">debian-elts</option>
      <option data-help-url="/help/debian-multimedia/" id="toc-debian-multimedia">debian-multimedia</option>
      <option data-help-url="/help/docker-ce/" id="toc-docker-ce">docker-ce</option>
      <option data-help-url="/help/eclipse/" id="toc-eclipse">eclipse</option>
      <option data-help-url="/help/elasticstack/" id="toc-elasticstack">elasticstack</option>
      <option data-help-url="/help/elpa/" id="toc-elpa">elpa</option>
      <option data-help-url="/help/elrepo/" id="toc-elrepo">elrepo</option>
      <option data-help-url="/help/epel/" id="toc-epel">epel</option>
      <option data-help-url="/help/erlang-solutions/" id="toc-erlang-solutions">erlang-solutions</option>
      <option data-help-url="/help/fdroid/" id="toc-fdroid">fdroid</option>
      <option data-help-url="/help/fedora/" id="toc-fedora">fedora</option>
      <option data-help-url="/help/flutter/" id="toc-flutter">flutter</option>
      <option data-help-url="/help/flutter-sdk.git/" id="toc-flutter-sdk.git">flutter-sdk.git</option>
      <option data-help-url="/help/gcc.git/" id="toc-gcc.git">gcc.git</option>
      <option data-help-url="/help/gentoo-portage/" id="toc-gentoo-portage">gentoo-portage</option>
      <option data-help-url="/help/gentoo-prefix/" id="toc-gentoo-portage-prefix">gentoo-portage-prefix</option>
      <option data-help-url="/help/gentoo-portage.git/" id="toc-gentoo-portage.git">gentoo-portage.git</option>
      <option data-help-url="/help/git-repo/" id="toc-git-repo">git-repo</option>
      <option data-help-url="/help/github-raw/" id="toc-github-raw">github-raw</option>
      <option data-help-url="/help/gitlab-ce/" id="toc-gitlab-ce">gitlab-ce</option>
      <option data-help-url="/help/gitlab-runner/" id="toc-gitlab-runner">gitlab-runner</option>
      <option data-help-url="/help/glibc.git/" id="toc-glibc.git">glibc.git</option>
      <option data-help-url="/help/grafana/" id="toc-grafana">grafana</option>
      <option data-help-url="/help/hackage/" id="toc-hackage">hackage</option>
      <option data-help-url="/help/homebrew/" id="toc-homebrew">homebrew</option>
      <option data-help-url="/help/homebrew-bottles/" id="toc-homebrew-bottles">homebrew-bottles</option>
      <option data-help-url="/help/influxdata/" id="toc-influxdata">influxdata</option>
      <option data-help-url="/help/julia-releases/" id="toc-julia-releases">julia-releases</option>
      <option data-help-url="/help/kali/" id="toc-kali">kali</option>
      <option data-help-url="/help/kicad/" id="toc-kicad">kicad</option>
      <option data-help-url="/help/kodi/" id="toc-kodi">kodi</option>
      <option data-help-url="/help/kubernetes/" id="toc-kubernetes">kubernetes</option>
      <option data-help-url="/help/lineage-rom/" id="toc-lineage-rom">lineage-rom</option>
      <option data-help-url="/help/lineageOS/" id="toc-lineageOS">lineageOS</option>
      <option data-help-url="/help/linux-firmware.git/" id="toc-linux-firmware.git">linux-firmware.git</option>
      <option data-help-url="/help/linux-next.git/" id="toc-linux-next.git">linux-next.git</option>
      <option data-help-url="/help/linux-stable.git/" id="toc-linux-stable.git">linux-stable.git</option>
      <option data-help-url="/help/linux.git/" id="toc-linux.git">linux.git</option>
      <option data-help-url="/help/linuxmint/" id="toc-linuxmint">linuxmint</option>
      <option data-help-url="/help/llvm-apt/" id="toc-llvm-apt">llvm-apt</option>
      <option data-help-url="/help/llvm-project.git/" id="toc-llvm-project.git">llvm-project.git</option>
      <option data-help-url="/help/lxc-images/" id="toc-lxc-images">lxc-images</option>
      <option data-help-url="/help/manjaro/" id="toc-manjaro">manjaro</option>
      <option data-help-url="/help/mariadb/" id="toc-mariadb">mariadb</option>
      <option data-help-url="/help/mongodb/" id="toc-mongodb">mongodb</option>
      <option data-help-url="/help/mozilla/" id="toc-mozilla">mozilla</option>
      <option data-help-url="/help/msys2/" id="toc-msys2">msys2</option>
      <option data-help-url="/help/mysql/" id="toc-mysql">mysql</option>
      <option data-help-url="/help/nix/" id="toc-nix">nix</option>
      <option data-help-url="/help/nix-channels/" id="toc-nix-channels">nix-channels</option>
      <option data-help-url="/help/nixpkgs.git/" id="toc-nixpkgs.git">nixpkgs.git</option>
      <option data-help-url="/help/nodejs-release/" id="toc-nodejs-release">nodejs-release</option>
      <option data-help-url="/help/ohmyzsh.git/" id="toc-ohmyzsh.git">ohmyzsh.git</option>
      <option data-help-url="/help/opensuse/" id="toc-opensuse">opensuse</option>
      <option data-help-url="/help/openwrt/" id="toc-openwrt">openwrt</option>
      <option data-help-url="/help/pkgsrc/" id="toc-pkgsrc">pkgsrc</option>
      <option data-help-url="/help/pkgsrc.git/" id="toc-pkgsrc.git">pkgsrc.git</option>
      <option data-help-url="/help/postmarketOS/" id="toc-postmarketOS">postmarketOS</option>
      <option data-help-url="/help/proxmox/" id="toc-proxmox">proxmox</option>
      <option data-help-url="/help/pybombs/" id="toc-pybombs">pybombs</option>
      <option data-help-url="/help/pypi/" selected="" id="toc-pypi">pypi</option>
      <option data-help-url="/help/qemu.git/" id="toc-qemu.git">qemu.git</option>
      <option data-help-url="/help/qt/" id="toc-qt">qt</option>
      <option data-help-url="/help/qubesos/" id="toc-qubesos">qubesos</option>
      <option data-help-url="/help/raspberrypi/" id="toc-raspberrypi">raspberrypi</option>
      <option data-help-url="/help/raspbian/" id="toc-raspbian">raspbian</option>
      <option data-help-url="/help/repo-ck/" id="toc-repo-ck">repo-ck</option>
      <option data-help-url="/help/ros/" id="toc-ros">ros</option>
      <option data-help-url="/help/ros2/" id="toc-ros2">ros2</option>
      <option data-help-url="/help/rosdistro/" id="toc-rosdistro">rosdistro</option>
      <option data-help-url="/help/rpmfusion/" id="toc-rpmfusion">rpmfusion</option>
      <option data-help-url="/help/rubygems/" id="toc-rubygems">rubygems</option>
      <option data-help-url="/help/rudder/" id="toc-rudder">rudder</option>
      <option data-help-url="/help/rustup/" id="toc-rustup">rustup</option>
      <option data-help-url="/help/solus/" id="toc-solus">solus</option>
      <option data-help-url="/help/stackage/" id="toc-stackage">stackage</option>
      <option data-help-url="/help/termux/" id="toc-termux">termux</option>
      <option data-help-url="/help/tlpretest/" id="toc-tlpretest">tlpretest</option>
      <option data-help-url="/help/ubuntu/" id="toc-ubuntu">ubuntu</option>
      <option data-help-url="/help/ubuntu-cloud-images/" id="toc-ubuntu-cloud-images">ubuntu-cloud-images</option>
      <option data-help-url="/help/ubuntu-ports/" id="toc-ubuntu-ports">ubuntu-ports</option>
      <option data-help-url="/help/virtualbox/" id="toc-virtualbox">virtualbox</option>
      <option data-help-url="/help/voidlinux/" id="toc-voidlinux">voidlinux</option>
      <option data-help-url="/help/wine-builds/" id="toc-wine-builds">wine-builds</option>
      <option data-help-url="/help/xanmod/" id="toc-xanmod">xanmod</option>
    </select> </div>
</form>

<form class="z-form z-global">
  <div> <label for="e0a5cecb">线路选择</label> <select id="e0a5cecb" name="host">
      <option selected="selected" value="https://mirrors.tuna.tsinghua.edu.cn">自动</option>
      <option value="https://mirrors4.tuna.tsinghua.edu.cn">IPv4</option>
      <option value="https://mirrors6.tuna.tsinghua.edu.cn">IPv6</option>
    </select> </div>
  <div style="display: none;"> <input id="a44d763c" name="_scheme" type="checkbox" checked=""> <label for="a44d763c">是否使用 HTTPS</label> </div>
  <div> <input id="a659e7da" name="_sudo" type="checkbox"> <label for="a659e7da">是否使用 sudo</label> </div>
</form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

<form class="z-form" onsubmit="return false"></form>

Text Content

清华大学开源软件镜像站
 * HOME
 * EVENTS
 * BLOG
 * RSS
 * PODCAST
 * MIRRORS

 * AOSP
 * Adoptium
 * CPAN
 * CRAN
 * CTAN
 * CocoaPods
 * NetBSD
 * OpenBSD
 * OpenMediaVault
 * alpine
 * anaconda
 * anthon
 * arch4edu
 * archlinux
 * archlinuxarm
 * archlinuxcn
 * armbian
 * bazel-apt
 * binutils-gdb.git
 * bioconductor
 * blackarch
 * centos
 * centos-altarch
 * centos-stream
 * centos-vault
 * ceph
 * clojars
 * crates.io-index
 * crates.io-index.git
 * cygwin
 * dart-pub
 * debian
 * debian-elts
 * debian-multimedia
 * docker-ce
 * eclipse
 * elasticstack
 * elpa
 * elrepo
 * epel
 * erlang-solutions
 * fdroid
 * fedora
 * flutter
 * flutter-sdk.git
 * gcc.git
 * gentoo-portage
 * gentoo-portage-prefix
 * gentoo-portage.git
 * git-repo
 * github-raw
 * gitlab-ce
 * gitlab-runner
 * glibc.git
 * grafana
 * hackage
 * homebrew
 * homebrew-bottles
 * influxdata
 * julia-releases
 * kali
 * kicad
 * kodi
 * kubernetes
 * lineage-rom
 * lineageOS
 * linux-firmware.git
 * linux-next.git
 * linux-stable.git
 * linux.git
 * linuxmint
 * llvm-apt
 * llvm-project.git
 * lxc-images
 * manjaro
 * mariadb
 * mongodb
 * mozilla
 * msys2
 * mysql
 * nix
 * nix-channels
 * nixpkgs.git
 * nodejs-release
 * ohmyzsh.git
 * opensuse
 * openwrt
 * pkgsrc
 * pkgsrc.git
 * postmarketOS
 * proxmox
 * pybombs
 * pypi
 * qemu.git
 * qt
 * qubesos
 * raspberrypi
 * raspbian
 * repo-ck
 * ros
 * ros2
 * rosdistro
 * rpmfusion
 * rubygems
 * rudder
 * rustup
 * solus
 * stackage
 * termux
 * tlpretest
 * ubuntu
 * ubuntu-cloud-images
 * ubuntu-ports
 * virtualbox
 * voidlinux
 * wine-builds
 * xanmod

选择帮助条目: AOSP Adoptium CPAN CRAN CTAN CocoaPods NetBSD OpenBSD OpenMediaVault
alpine anaconda anthon arch4edu archlinux archlinuxarm archlinuxcn armbian
bazel-apt binutils-gdb.git bioconductor blackarch centos centos-altarch
centos-stream centos-vault ceph clojars crates.io-index crates.io-index.git
cygwin dart-pub debian debian-elts debian-multimedia docker-ce eclipse
elasticstack elpa elrepo epel erlang-solutions fdroid fedora flutter
flutter-sdk.git gcc.git gentoo-portage gentoo-portage-prefix gentoo-portage.git
git-repo github-raw gitlab-ce gitlab-runner glibc.git grafana hackage homebrew
homebrew-bottles influxdata julia-releases kali kicad kodi kubernetes
lineage-rom lineageOS linux-firmware.git linux-next.git linux-stable.git
linux.git linuxmint llvm-apt llvm-project.git lxc-images manjaro mariadb mongodb
mozilla msys2 mysql nix nix-channels nixpkgs.git nodejs-release ohmyzsh.git
opensuse openwrt pkgsrc pkgsrc.git postmarketOS proxmox pybombs pypi qemu.git qt
qubesos raspberrypi raspbian repo-ck ros ros2 rosdistro rpmfusion rubygems
rudder rustup solus stackage termux tlpretest ubuntu ubuntu-cloud-images
ubuntu-ports virtualbox voidlinux wine-builds xanmod


PYPI 软件仓库

线路选择 自动 IPv4 IPv6
是否使用 HTTPS
是否使用 sudo


服务域名

如果您正在使用 TUNA 镜像站,可以使用 pypi.tuna.tsinghua.edu.cn 替换下面所有的
mirrors.tuna.tsinghua.edu.cn/pypi/web。

BFSU 镜像站没有为 PyPI 提供独立服务域名。

PyPI 镜像在每次同步成功后间隔 5 分钟同步一次。


PIP

临时使用

pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple some-package

pip install -i {{endpoint}}/web/simple some-package


注意,simple 不能少。
pip 要求使用 https ,因此需要 https 而不是 http

设为默认

升级 pip 到最新的版本后进行配置:

python -m pip install --upgrade pip
pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

python -m pip install --upgrade pip
pip config set global.index-url {{endpoint}}/web/simple


如果您到 pip 默认源的网络连接较差,临时使用本镜像站来升级 pip:

python -m pip install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --upgrade pip

python -m pip install -i {{endpoint}}/web/simple --upgrade pip


配置多个镜像源

如果您想配置多个镜像源平衡负载,可在已经替换 index-url 的情况下通过以下方式继续增加源站:

pip config set global.extra-index-url "<url1> <url2>..."

pip config set global.extra-index-url "<url1> <url2>..."


请自行替换引号内的内容,源地址之间需要有空格

例如

pip config set global.extra-index-url "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"

pip config set global.extra-index-url "{{endpoint}}/web/simple"



PDM

通过如下命令设置默认镜像:

pdm config pypi.url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple

pdm config pypi.url {{endpoint}}/web/simple



POETRY

通过以下命令为单个项目设置首选镜像:

poetry source add --priority=primary mirrors https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/

poetry source add --priority=primary mirrors {{endpoint}}/web/simple/


通过以下命令为单个项目设置补充镜像:

poetry source add --priority=supplemental mirrors https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/

poetry source add --priority=supplemental mirrors {{endpoint}}/web/simple/


Poetry 尚未支持全局设置镜像。参考 issue 1632。

使用全局镜像的临时方案是将 Poetry 的安装器切换回 pip,如下所示。但该方式会在将来的版本中停止支持,参考 PR 7356。

poetry config experimental.new-installer false

poetry config experimental.new-installer false



HOMEBREW

本节主要供 Homebrew 帮助使用。

export HOMEBREW_PIP_INDEX_URL="https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"

export HOMEBREW_PIP_INDEX_URL="{{endpoint}}/web/simple"




本站由清华大学信息化技术中心支持创办,由清华大学 TUNA 协会运行维护。

清华大学 TUNA 协会,全名清华大学学生网络与开源软件协会,是由清华大学热爱网络技术和开源软件的极客组成的学生技术社团。

本站相关源码可在 这里(镜像管理器) 和 这里(镜像站网页) 获取。

根据相关法律法规,本站不对欧盟用户提供服务。

CONTACT US

 * Mailing List
 * #tuna at Libera.Chat
 * GitHub
 * 新浪微博

SPONSOR



本存储服务器由旷视科技有限公司(Megvii Technology Ltd.)赞助。TUNA 感谢旷视和华为对开源软件和社区的贡献。


bars envelope hashtag github weibo