GoogleScraper安装错误设置工具必须安装

2024-05-13 05:37:19 发布

您现在位置:Python中文网/ 问答频道 /正文

我在ubuntu14.04中用python3.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?在


Tags: installpiptoinenvvirtualenvlibpackages
2条回答

我丢失了python3开发工具。我做了sudo apt-get install python3-dev,而且效果很好。在

在升级ubuntu14.04中的python3.4包后,我得到了相同的错误。在

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

相关问题 更多 >