<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[python 相关问题记录]]></title><description><![CDATA[<h1>下载包很慢</h1>
<p dir="auto"><code>解决办法：</code>换源</p>
<pre><code class="language-bash">pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
</code></pre>
<p dir="auto">阿里云 <a href="https://mirrors.aliyun.com/pypi/simple/" rel="nofollow ugc">https://mirrors.aliyun.com/pypi/simple/</a><br />
中国科技大学 <a href="https://pypi.mirrors.ustc.edu.cn/simple/" rel="nofollow ugc">https://pypi.mirrors.ustc.edu.cn/simple/</a><br />
豆瓣(douban) <a href="http://pypi.douban.com/simple/" rel="nofollow ugc">http://pypi.douban.com/simple/</a><br />
清华大学 <a href="https://pypi.tuna.tsinghua.edu.cn/simple/" rel="nofollow ugc">https://pypi.tuna.tsinghua.edu.cn/simple/</a><br />
中国科学技术大学 <a href="http://pypi.mirrors.ustc.edu.cn/simple/" rel="nofollow ugc">http://pypi.mirrors.ustc.edu.cn/simple/</a></p>
]]></description><link>http://an.forum.genostack.com/topic/31/python-相关问题记录</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 12:27:00 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/31.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Jul 2020 01:50:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to python 相关问题记录 on Wed, 29 Jul 2020 03:04:38 GMT]]></title><description><![CDATA[<h1>环境依赖错误问题</h1>
<p dir="auto">报错信息如例：</p>
<pre><code class="language-bash">ERROR: pyasn1-modules 0.2.8 has requirement pyasn1&lt;0.5.0,&gt;=0.4.6, 
but you'll have pyasn1 0.1.9 which is incompatible.
</code></pre>
<p dir="auto">问题原因：</p>
<p dir="auto">多个环境冲突，最好可以分项目管理环境，从这个方面看 conda和docker都是不错的方案</p>
]]></description><link>http://an.forum.genostack.com/post/45</link><guid isPermaLink="true">http://an.forum.genostack.com/post/45</guid><dc:creator><![CDATA[ice-melt]]></dc:creator><pubDate>Wed, 29 Jul 2020 03:04:38 GMT</pubDate></item><item><title><![CDATA[Reply to python 相关问题记录 on Wed, 29 Jul 2020 01:56:50 GMT]]></title><description><![CDATA[<h1>安装 psycopg2 报错</h1>
<p dir="auto">报错信息如下：</p>
<pre><code>Error: b'You need to install postgresql-server-dev-X.Y for building 
a server-side extension or libpq-dev for building a client-side application.\n'
</code></pre>
<p dir="auto">原因：psycopg2需要pg数据库的客户端或服务端程序支持</p>
<p dir="auto"><code>解决办法：</code></p>
<pre><code>sudo apt-get install libpq-dev postgresql postgresql-contrib

pip3 install psycopg2
</code></pre>
]]></description><link>http://an.forum.genostack.com/post/44</link><guid isPermaLink="true">http://an.forum.genostack.com/post/44</guid><dc:creator><![CDATA[ice-melt]]></dc:creator><pubDate>Wed, 29 Jul 2020 01:56:50 GMT</pubDate></item></channel></rss>