pyconfig.h missing during “pip install cryptography”

后端 未结 5 1885
臣服心动
臣服心动 2020-12-17 09:48

I wanna set up scrapy cluster follow this link scrapy-cluster,Everything is ok before I run this command:

pip install -r requirements.txt

T

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-17 10:20

    I have solved it by myself. for the default python of centos, there is only a file named pyconfg-64.h in usr/include/python2.7/,So run the command

    yum install python-devel
    

    Then it works.

提交回复
热议问题