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
For Python 3.7 on Debian, the following works for me.
apt-get install python3.7-dev
and
apt-get install libssl-dev
You may also need:
apt-get install libffi-dev
For Ubuntu, python2
apt-get install python-dev
For Ubuntu, python3
apt-get install python3-dev
i use python 2 on ubuntu and got the same problem when installing cryptography. after i run this command
apt-get install python-dev libssl-dev libffi-dev
then it works.
for python3.6,
apt-get install python3.6-dev
and
apt-get install libssl-dev libffi-dev
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.