Cannot Set Up a Scrapy Project

后端 未结 3 374
爱一瞬间的悲伤
爱一瞬间的悲伤 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:27

    This is a problem of cryptography installation, try installing crytography again, which includes installation of OpenSSL also. And your project will starts working with this. Follow these steps.

    For Debian and Ubuntu

    $ sudo apt-get install build-essential libssl-dev libffi-dev python-dev
    

    For Fedora and RHEL-derivatives

    $ sudo yum install gcc libffi-devel python-devel openssl-devel
    

    After installing this, you should now be able to build and install cryptography with the usual

    $ pip install cryptography
    

    After this, try creating your scrapy project.

提交回复
热议问题