尝试安装feedparser时'egg_base'选项出错

sna*_*ile 3 python installation feedparser

我想安装feedparser.

这是尝试在Windows命令行中安装feedparser时发生的情况.

> python.exe setup.py install
running install
running bdist_egg
error: error in 'egg_base' option: 'feedparser does not exist or is not a directory
Run Code Online (Sandbox Code Playgroud)

我正在使用Python 2.7(feedparser网站声称"它在Python 2.4上一直运行到3.2").

sna*_*ile 5

使用pip安装feedparser :

pip install feedparser
Run Code Online (Sandbox Code Playgroud)

pip是一个用于安装和管理Python包的软件工具.它具有一个命令行界面,允许您通过发出单个命令来安装Python包.如何在Windows上安装pip.