<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>易博云天 &#187; PyPI</title>
	<atom:link href="http://www.eavea.com/blog/index.php/tag/pypi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eavea.com/blog</link>
	<description>专注技术：学习、交流、分享、免费，每天进步一点点！</description>
	<lastBuildDate>Mon, 13 Mar 2023 07:04:16 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6.1</generator>
		<item>
		<title>Windows下pip安装依赖报错</title>
		<link>http://www.eavea.com/blog/index.php/windowsxiapipanzhuangyilaibaocuo.html</link>
		<comments>http://www.eavea.com/blog/index.php/windowsxiapipanzhuangyilaibaocuo.html#comments</comments>
		<pubDate>Tue, 14 Apr 2020 07:12:00 +0000</pubDate>
		<dc:creator>eavea</dc:creator>
				<category><![CDATA[运维知识]]></category>
		<category><![CDATA[PyPI]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.eavea.com/blog/?p=44</guid>
		<description><![CDATA[Windows下pip安装依赖报错 在Windows环境下，使用pip install命令安装某些包时，有时候 [&#8230;]]]></description>
				<content:encoded><![CDATA[<div>Windows下pip安装依赖报错</div>
<blockquote><p>在Windows环境下，使用pip install命令安装某些包时，有时候会出现安装失败的情况。</p></blockquote>
<p>windows下执行 <code>pip install</code> 来安装pip的有些包经常会出错，<br />
最常见的就是lxml和mysqlclient这类包。</p>
<p>解决方式：</p>
<ol>
<li>访问 <a href="https://www.lfd.uci.edu/~gohlke/pythonlibs/" target="_0" rel="external nofollow noopener noreferrer">https://www.lfd.uci.edu/~gohlke/pythonlibs/</a> 这个网站，这是个Python包管理网站；</li>
<li>下载你需要的包，都是以.whl结尾的文件，一般是(包名)-(包版本号)-(py版本号)-(系统版本号).whl这样的文件命名；</li>
<li>进入下载的包目录，执行 <code>pip install xxx.whl</code> 命令进行安装即可。</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.eavea.com/blog/index.php/windowsxiapipanzhuangyilaibaocuo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pip修改国内镜像源</title>
		<link>http://www.eavea.com/blog/index.php/pipxiugaiguoneijingxiangyuan.html</link>
		<comments>http://www.eavea.com/blog/index.php/pipxiugaiguoneijingxiangyuan.html#comments</comments>
		<pubDate>Tue, 14 Apr 2020 07:09:27 +0000</pubDate>
		<dc:creator>eavea</dc:creator>
				<category><![CDATA[运维知识]]></category>
		<category><![CDATA[PyPI]]></category>

		<guid isPermaLink="false">http://www.eavea.com/blog/?p=42</guid>
		<description><![CDATA[pip修改国内镜像源 Windows和Linux下修改pip国内镜像源。 一、Windows环境 在windo [&#8230;]]]></description>
				<content:encoded><![CDATA[<div>pip修改国内镜像源</div>
<blockquote><p>Windows和Linux下修改pip国内镜像源。</p></blockquote>
<h2 id="一、Windows环境">一、Windows环境</h2>
<p>在windows文件管理器中,输入 <code>%APPDATA%</code><br />
一般会跳转到这个目录：C:\Users\Administrator\AppData\Roaming，不同用户可能不一样<br />
在该目录下创建一个文件夹命名为 <code>pip</code><br />
在pip文件夹下新建文件 <code>pip.ini</code><br />
写入如下内容：</p>
<div>bash<i></i><i></i></div>
<pre><code>[list] 
format=columns
; https://pypi.python.org/pypi 默认
; https://pypi.tuna.tsinghua.edu.cn/simple/  清华-教育网
; http://pypi.douban.com/simple/  豆瓣
; https://pypi.mirrors.ustc.edu.cn/simple/  中国科学技术大学
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
</code></pre>
<h2 id="二、Linux环境">二、Linux环境</h2>
<h3 id="临时使用">临时使用</h3>
<p><code>pip install -i http://mirrors.aliyun.com/pypi/simple/ pyspider</code></p>
<h3 id="永久修改">永久修改</h3>
<p><code>vim /root/.pip/pip.conf</code> 换成如下内容：</p>
<div>bash<i></i><i></i></div>
<pre><code>; https://pypi.python.org/pypi 默认
; https://pypi.tuna.tsinghua.edu.cn/simple/  清华-教育网
; http://pypi.douban.com/simple/  豆瓣
; https://pypi.mirrors.ustc.edu.cn/simple/  中国科学技术大学
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.eavea.com/blog/index.php/pipxiugaiguoneijingxiangyuan.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
