2016-05-15 7 views
0

私はこのエラーを取得するhttps://github.com/pyqt/python-qt5/wiki/Compiling-PyQt5-on-Ubuntu-12.04で指示に従ったと:Fedora 23(Python 2)にPyQt5をインストールするにはどうすればいいですか?

$ python configure.py --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 qtdetail.mk qtdetail.pro 
make -f qtdetail.mk 
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 
qtdetail.mk:524: 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. 

は、誰かがここに私を助けてもらえますか?

ありがとうございました。

編集:私はDNFとgcc-c++をインストールすることでこの問題を解決しましたが、makeを実行するときに、今、私はこのエラーを取得する:https://gist.github.com/TheInitializer/4edca67ee64bf7a86a850fe839985297

誰もが何が起こっているのか知っていますか?

+0

'g ++'がインストールされていますか? 'make:g ++:コマンドが見つかりません 'と思われます。 'sudo apt-get install build-essential'を実行してください。 シェルから' g ++ 'コマンドを実行できるはずです。 –

+0

@busfault Fedoraには 'apt'がありません。 'dnf install gcc'が必要です。 – Jakuje

+0

@Jakujeはすでにそれを試しました – TheInitializer

答えて

1

まあ、私はちょっと愚かだと感じます。

PyQt5にはdnfパッケージがあります。

sudo dnf install PyQt5をインストールしてインストールしました。

関連する問題