Scrapy installed, but won't recognized in the command line

前端 未结 4 402
别跟我提以往
别跟我提以往 2020-12-21 03:28

I installed Scrapy in my python 2.7 environment in windows 7 but when I trying to start a new Scrapy project using scrapy startproject newProject the command pr

相关标签:
4条回答
  • 2020-12-21 04:06

    See the official documentation.

    • Set environment variable
    • Install pywin32
    0 讨论(0)
  • 2020-12-21 04:11

    If you are using Anaconda or Miniconda, try updating the conda command as follows:

    conda update -n base -c defaults conda

    It worked for me.

    0 讨论(0)
  • 2020-12-21 04:19

    Scrapy should be in your environment variables. You can check if it's there with the following in windows:

    echo %PATH% # To print only the path
    set # For all 
    

    or

    printenv # In linux
    

    Make should scrapy is in your path and if it's not, add it to your path and it should (probably) resolve your problem. I said probably, since it might be caused by other issues you have not mentioned.

    0 讨论(0)
  • 2020-12-21 04:26

    same problem here and check up different installation guide link and run below in anaconda prompt:

    conda update scrapy

    now working perfectly with scrapy startproject cmd

    0 讨论(0)
提交回复
热议问题