-1

I install all package:

now I have a test:

    Type "help", "copyright", "credits" or "license" for more information.
    import scrapy
    from scrapy.selector import HtmlXPathSelector
    exit()

    [root@dev site-packages]# scrapy
    bash: scrapy: command not found

how to do?thanks.

1 Answers1

1

How do you install scrapy? easy_install? Or pip install? Or python install setup.py? It should be the path problem. You need to install the bin/scrapy script to a directory in the PATH, like /usr/local/bin.

Here is a similar question: Scrapy installation on OSX Lion

Community
  • 1
  • 1
JavaNoScript
  • 2,345
  • 21
  • 27