我想用pip3安装scrapy,
.error(function (jqXHR, textStatus, errorThrown) {
var error = $.parseJSON(jqXHR.responseText);
$(error).each(function(i,e)
{
$('[name="' + e + '"]').addClass('input-validation-error');
});
});
但失败了:
sudo pip3 install Scrapy -i https://pypi.douban.com/simple
所以我用了
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-s3504tu6/Twisted/
但又失败了。如何解决这个错误?
答案 0 :(得分:-1)
尝试升级setuptools
pip install --upgrade setuptools
或
easy_install -U setuptools
并检查它是否有效