search

Home  >  Q&A  >  body text

python - 在CenOS 7 中安装scrapy报错

在虚拟机中安装的CenOS 7,然后安装python3.5.1,然后安装scrapy,提示:

貌似这样就算是安装成功了,但是如果继续输入scrapy,会提示找不到命令。

然后我尝试导入的时候也报错了,如下:

看起来好像是twisted的问题,我又尝试导入twisted,但是并没有任何报错

多方搜索都没有找到解决方案,麻烦各位了。

大家讲道理大家讲道理2892 days ago343

reply all(2)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:41:49

    http://blog.joyble.com/2016/0...

    Successful installation through the method in the above link

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:41:49

    Execute in the command line first: scrapy bench
    有错误,就会有提示信息。
    贴信息要完整,别搞一图流


    Sorry, I have just come into contact with linux. I tried to execute scrapy bench on the command line, but it still prompted: bash: scrapy: command not found
    @If I smell C

    scrapy.exe is in the Scripts folder of the python installation directory. scrapy.exe 在python安装目录的Scripts文件夹中。
    我的是D:Python34ScriptsMine is D:Python34Scripts, you can find the corresponding path yourself.

    reply
    0
  • Cancelreply