简体   繁体   中英

unable to install python-devel package in fedora

i was trying to install psycopg using pip and ran into this error

In file included from psycopg/psycopgmodule.c:27:0: ./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory #include

I understand python-devel package is missing and when i tried to install, its shows

Error: nothing provides python-rpm-macros needed by python-devel-2.7.12-6.fc24.i686

How could i resolve the issues with python-rpm-macros??

Thank you

python-rpm-macros can be some rpm package which you have to install.

I found this: http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/python-rpm-macros

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM