<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python下载 on 轩源的网络日志</title><link>https://blog.xuanyuan.me/tags/python%E4%B8%8B%E8%BD%BD/</link><description>Recent content in Python下载 on 轩源的网络日志</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Tue, 25 Feb 2025 22:55:52 +0800</lastBuildDate><atom:link href="https://blog.xuanyuan.me/tags/python%E4%B8%8B%E8%BD%BD/index.xml" rel="self" type="application/rss+xml"/><item><title>macOS 安装 python (1220 更新)</title><link>https://blog.xuanyuan.me/archives/1650/</link><pubDate>Fri, 11 Oct 2024 12:10:01 +0800</pubDate><guid>https://blog.xuanyuan.me/archives/1650/</guid><description>&lt;h2 id="准备工作"&gt;&lt;a href="#%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c" class="header-anchor"&gt;&lt;/a&gt;准备工作&#10;&lt;/h2&gt;&lt;p&gt;在正式安装之前，应先安装 C 编译器。最快的方式是运行  &lt;code&gt;xcode-select --install&lt;/code&gt;  来安装 Xcode 命令行工具。&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;xcode-select --install&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;您也可以从 Mac 应用商店下载完全版的  &lt;a class="link" href="http://developer.apple.com/xcode/" target="_blank" rel="noopener"&#10; &gt;Xcode&lt;/a&gt;，或者更轻巧的  &lt;a class="link" href="https://github.com/kennethreitz/osx-gcc-installer#readme" target="_blank" rel="noopener"&#10; &gt;OSX-GCC-Installer&lt;/a&gt; 。&lt;/p&gt;&#10;&#10; &lt;blockquote&gt;&#10; &lt;p&gt;注意&lt;/p&gt;&#10;&lt;p&gt;如果已经安装了 Xcode，请不要再安装 OSX-GCC-Installer。两者结合可能会引发难以诊断的问题。&lt;/p&gt;&#10;&lt;p&gt;执行 Xcode 的全新安装完成后，须在终端执行下述命令  &lt;code&gt;xcode-select --install&lt;/code&gt;  来安装命令行工具。&lt;/p&gt;&#10;&#10; &lt;/blockquote&gt;</description></item><item><title>2025 pip 更新国内镜像源（0225 更新）</title><link>https://blog.xuanyuan.me/archives/1283/</link><pubDate>Tue, 03 Sep 2024 22:51:43 +0800</pubDate><guid>https://blog.xuanyuan.me/archives/1283/</guid><description>&lt;h3 id="国内-pip-镜像源服务域名"&gt;&lt;a href="#%e5%9b%bd%e5%86%85-pip-%e9%95%9c%e5%83%8f%e6%ba%90%e6%9c%8d%e5%8a%a1%e5%9f%9f%e5%90%8d" class="header-anchor"&gt;&lt;/a&gt;国内 pip 镜像源服务域名&#10;&lt;/h3&gt;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: center"&gt;Python 官方&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th style="text-align: center"&gt;&lt;a class="link" href="https://pypi.python.org/simple/" target="_blank" rel="noopener"&#10; &gt;https://pypi.python.org/simple/&lt;/a&gt;&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;阿里云&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="https://mirrors.aliyun.com/pypi/simple/" target="_blank" rel="noopener"&#10; &gt;https://mirrors.aliyun.com/pypi/simple/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;清华大学&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="https://pypi.tuna.tsinghua.edu.cn/simple/" target="_blank" rel="noopener"&#10; &gt;https://pypi.tuna.tsinghua.edu.cn/simple/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;中国科技大学&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="https://pypi.mirrors.ustc.edu.cn/simple/" target="_blank" rel="noopener"&#10; &gt;https://pypi.mirrors.ustc.edu.cn/simple/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;中国科学技术大学&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="https://pypi.mirrors.ustc.edu.cn/simple/" target="_blank" rel="noopener"&#10; &gt;https://pypi.mirrors.ustc.edu.cn/simple/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;豆瓣&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="http://pypi.douban.com/simple/" target="_blank" rel="noopener"&#10; &gt;http://pypi.douban.com/simple/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;腾讯云&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="https://mirrors.cloud.tencent.com/pypi/simple/" target="_blank" rel="noopener"&#10; &gt;https://mirrors.cloud.tencent.com/pypi/simple/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;华中理工大学&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="http://pypi.hustunique.com/" target="_blank" rel="noopener"&#10; &gt;http://pypi.hustunique.com/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;山东理工大学&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td style="text-align: center"&gt;&lt;a class="link" href="http://pypi.sdutlinux.org/" target="_blank" rel="noopener"&#10; &gt;http://pypi.sdutlinux.org/&lt;/a&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h3 id="pip"&gt;&lt;a href="#pip" class="header-anchor"&gt;&lt;/a&gt;pip&#10;&lt;/h3&gt;&lt;h4 id="临时使用"&gt;&lt;a href="#%e4%b8%b4%e6%97%b6%e4%bd%bf%e7%94%a8" class="header-anchor"&gt;&lt;/a&gt;临时使用&#10;&lt;/h4&gt;&lt;p&gt;以下均为清华镜像源为例，其他镜像服务器同理更换域名即可。&lt;/p&gt;</description></item></channel></rss>