Fedora下安装Scrapy遇到的两个问题

  1. error:/usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

需要安装redhat-rpm-config

sudo dnf installl redhat-rpm-config

  1. fatal error: Python.h: No such file or directory

需要安装python-devel。针对python3是python3-devel

sudo dnf install python-devel

Python3

sudo dnf install python3-devel

原文地址:https://www.cnblogs.com/wuzhiblog/p/7588860.html