<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://itecfun.com/extern.php?action=feed&amp;tid=3351&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[个人知识管理站 / Python 3.6 安装BeautifulSoup4]]></title>
		<link>http://www.itecfun.com/viewtopic.php?id=3351</link>
		<description><![CDATA[Python 3.6 安装BeautifulSoup4 最近发表的帖子。]]></description>
		<lastBuildDate>Tue, 29 May 2018 05:53:56 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Python 3.6 安装BeautifulSoup4]]></title>
			<link>http://www.itecfun.com/viewtopic.php?pid=3612#p3612</link>
			<description><![CDATA[<p>在python3.6环境下通过 </p><p>pip install beaufifulsoup4</p><p>安装BeautifulSoup4 失败，主要是bs4是用python2.7编写的，需使用自带工具2to3.py工具转变下代码即可。</p><p>首先，下载<a href="https://www.crummy.com/software/BeautifulSoup/bs4/download/" rel="nofollow">BeautifulSoup</a>对相应的版本。</p><p>将beaufifulsoup4-4.6.0.tar.gz解压缩，拷贝目录下的bs4文件到 python安装目录的Lib文件夹下</p><p>cmd进入 python安装目录的Tools\scripts中 </p><p>在命令行中输入：python 2to3.py&#160; -w &quot;D:\Program Files\Python\Python36\Lib\bs4&quot;</p><p>进入python，输入 import bs4看下是否正常~。</p>]]></description>
			<author><![CDATA[dummy@example.com (xuyg)]]></author>
			<pubDate>Tue, 29 May 2018 05:53:56 +0000</pubDate>
			<guid>http://www.itecfun.com/viewtopic.php?pid=3612#p3612</guid>
		</item>
	</channel>
</rss>
