Warlock Warlock - 1 month ago 14
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
#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

Answer

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

Comments