在python 3.5中安装scrapy时出错 [英] Error installing scrapy in python 3.5

查看:51
本文介绍了在python 3.5中安装scrapy时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 Python 3.5 中安装 Scrapy.我指的是安装指南

我已经安装了pipminoconda:

conda install -c scrapinghub scrapy

 pip install Scrapy

安装有什么问题?

解决方案

您正在尝试在 python 解释器中安装 scrapy,您应该在终端中安装该软件包.更重要的是,安装 scrapy 的一个要求是 python 2.7,你使用的是 python 3.5

<小时>

更新:

好消息:Python 3即将使用 Scrapy,您现在可以尝试 pip install scrapy==1.1.0rc1.请注意,仍然存在一些限制,但用不了多久 scrapy 将完全支持 3.x.密切关注 scrapy 开发 ;)

I am installing Scrapy in Python 3.5. I am referring to the installation guide here .

I have installed pip and conda. I tried both ways mentioned in the guide, but am getting this error:

I have already installed pip and minoconda:

conda install -c scrapinghub scrapy

and

 pip install Scrapy

What is wrong with the installation?

解决方案

You're trying to install scrapy in the python interpreter, you should install the package in your terminal. What's more, one requirement of installing scrapy is python 2.7, you're using python 3.5


Update:

Good news: Python 3 is Coming to Scrapy, you can try pip install scrapy==1.1.0rc1 now. Note that there are still some limitations, but won't be long that scrapy will have full of 3.x support. Pay close attention to the scrapy development ;)

这篇关于在python 3.5中安装scrapy时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆