I found a parser on the Internet, I knocked it, moved to the repository.

Entered the scrapy crawl spiders command, the parser launched and issued an error Environment variable PARSA_TOKEN not set

Then he entered the command env PARSA_TOKEN=123 scrapy crawl spiders

And it gives env не является внутренней или внешней программой....

What to do? I worked in the Anaconda window

    1 answer 1

    I don’t even know if this is an answer ...

    If you have Debian || * buntu (and other Debian-based), execute (from the root):

     apt-get install python-pycurl 

    then

     cp /usr/lib/python2.7/dist-packages/pycurl* ~/.virtualenvs/myenv/lib/python2.7/site-packages/ 
    • I have windows. - danilshik