Cannot Set Up a Scrapy Project

后端 未结 3 352
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-07 08:33

I type this into the terminal:

$ scrapy startproject tutorial

I cannot get it to start a new scrapy project, and I keep installing all the

3条回答
  •  不知归路
    2021-01-07 09:09

    Looks like you are using Anaconda - I had the same problem and this fixed it (tested on OS X 10.9 and 10.10).

    First pip uninstall scrapy if you have it installed.

    Use conda to install cryptography:

    conda install cryptography
    

    Set the DYLD_LIBRARY_PATH environment variable:

    export DYLD_LIBRARY_PATH=$HOME/anaconda/lib
    

    Then install scrapy again

    pip install scrapy
    

提交回复
热议问题