如何安装美丽的汤4在Windows 2.7蟒 [英] How to install beautiful soup 4 with python 2.7 on windows
问题描述
我的Windows Vista与Python 2.7。我想安装BeautifulSoup 4,但显然我不能只通过将文件复制到站点包目录中安装美味的汤。
我必须安装点子,然后运行在命令提示符下一些命令。
你能引导我通过一步一步来。我真是一个小白这样使它非常简单。
在此先感谢
I have windows vista with Python 2.7. I would like to install BeautifulSoup 4 but apparently I can't install Beautiful Soup just by copying the file into the site-packages directory. I have to install pip and then run some commands from the command prompt. Could you guide me through that step by step. I am really a noob so make it very simple. Thanks in advance
推荐答案
您不要需要 PIP
安装美丽的汤 - 你可以的只是下载并运行蟒蛇的setup.py安装
从已在(假设你已经添加的Python到你的系统解压缩BeautifulSoup目录 PATH
- 如果你没有,你不希望你可以运行 C:\\路径\\为\\ Python27 \\ python的C:\\路径\\到\\ BeautifulSoup \\ setup.py安装
)
You don't need pip
for installing Beautiful Soup - you can just download it and run python setup.py install
from the directory that you have unzipped BeautifulSoup in (assuming that you have added Python to your system PATH
- if you haven't and you don't want to you can run C:\Path\To\Python27\python "C:\Path\To\BeautifulSoup\setup.py" install
)
不过,你真的应的安装 PIP
- 见如何在Windows安装点子怎么做最能(通过@MartijnPieters评论)
However, you really should install pip
- see How to install pip on Windows for how to do that best (via @MartijnPieters comment)
这篇关于如何安装美丽的汤4在Windows 2.7蟒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!