Warlock Warlock - 1 year ago 153
Python Question

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

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

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download