ubuntu 安装scrapy error :wisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory

wisted/test/raiser.c:4:20: fatal error: Python.h:  No such file or directocompilation terminated.error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

运行如下命令即可

sudo apt-get install python-dev
sudo apt-get install python3-dev

 

你可能感兴趣的:(scrapy)