GoogleScraper安装错误-必须安装setuptools

GoogleScraper Installation error - setuptools must be installed

我在 ubuntu 14.04 中使用 python 3.4(全局 python 是 python-2.7)设置了 virtualenv-13.1.2。当我尝试使用 coammandpip install GoogleScraper 安装 GoogleScraper 时出现错误

setuptools must be installed to install from a source distribution

如果我这样做 pip install setuptools

Requirement already satisfied (use --upgrade to upgrade): setuptools in ./env/lib/python3.4/site-packages

如果我这样做 pip install setuptools --upgrade

Requirement already up-to-date: setuptools in ./env/lib/python3.4/site-packages

如何才能成功安装GoogleScraper?

在 Ubuntu 14.04 中升级 python3.4 包后,我得到了同样的错误。

一个快速的解决方案是删除并重新创建 virtualenv。

我缺少 python3-dev 工具。我做到了 sudo apt-get install python3-dev,效果非常好。