我在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?在
我丢失了python3开发工具。我做了
sudo apt-get install python3-dev
,而且效果很好。在在升级ubuntu14.04中的
python3.4
包后,我得到了相同的错误。在一个快速的解决方案是删除并重新创建virtualenv。在
相关问题 更多 >
编程相关推荐