首页 > 技术文章 > Fedora下安装Scrapy遇到的两个问题

wuzhiblog 2017-09-24 21:51 原文

  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

推荐阅读