我已经安装了yum install Python -devel,但是仍然找不到Python。h文件

时间:2021-10-17 20:27:37

I have run the command yum install python-devel,and the output is :

我运行了yum install python-devel命令,输出是:

yum install python-devel
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.i686 0:2.6.4-25.fc13 set to be updated
--> Finished Dependency Resolution

but when I locate Python.h, it did not output anything Please share your solution,if you know the reason ,Thanks a lot

但是当我定位Python的时候。h,它没有输出任何东西请分享你的解决方案,如果你知道原因,非常感谢

2 个解决方案

#1


1  

Installing a package does not automatically update the locatedb. You are seeing nothing strange. If you want to update the locatedb manually, run updatedb.

安装包不会自动更新locatedb。你没看到什么奇怪的东西。如果您想手动更新locatedb,请运行updatedb。

#2


1  

if you run

如果你运行

$ rpm -ql python-devel | grep -i python.h

you will get

你会得到

/usr/include/python2.6/Python.h

#1


1  

Installing a package does not automatically update the locatedb. You are seeing nothing strange. If you want to update the locatedb manually, run updatedb.

安装包不会自动更新locatedb。你没看到什么奇怪的东西。如果您想手动更新locatedb,请运行updatedb。

#2


1  

if you run

如果你运行

$ rpm -ql python-devel | grep -i python.h

you will get

你会得到

/usr/include/python2.6/Python.h