TheInitializer TheInitializer - 1 year ago 175
Python Question

How do I install PyQt5 on Fedora 23 (Python 2)?

I followed the instructions at and get this error:

$ python --qmake ~/Qt5.3.1/5.3/gcc_64/bin/qmake --sip-incdir ../sip-4.16.5/siplib --verbose
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
/home/david/Qt5.3.1/5.3/gcc_64/bin/qmake -o
make -f
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../Qt5.3.1/5.3/gcc_64/mkspecs/linux-g++ -I. -I../../Qt5.3.1/5.3/gcc_64/include -I../../Qt5.3.1/5.3/gcc_64/include/QtCore -I. -o qtdetail.o qtdetail.cpp
make: g++: Command not found recipe for target 'qtdetail.o' failed
make: *** [qtdetail.o] Error 127
Error: Failed to determine the detail of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.

Could someone help me here?


EDIT: I solved this by installing
with dnf, but now I get this error when running

Anyone know what's going on?

Answer Source

Well, I kinda feel stupid.

PyQt5 has a dnf package.

I just ran sudo dnf install PyQt5 and it installed.