更新时间:2022-11-26 10:17:37
你不需要需要 pip
来安装 Beautiful Soup - 你可以 只需下载它并从您解压 BeautifulSoup 的目录中运行 python setup.py install
(假设您已将 Python 添加到您的系统 PATH
- 如果您没有的话)t 并且你不想你可以运行 C:PathToPython27python "C:PathToBeautifulSoupsetup.py" install
)
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:PathToPython27python "C:PathToBeautifulSoupsetup.py" install
)
但是,您确实应该安装 pip
- 请参阅如何在 Windows 上安装 pip 如何做到***(通过@MartijnPieters 评论)
However, you really should install pip
- see How to install pip on Windows for how to do that best (via @MartijnPieters comment)