<div dir="ltr">Hi all,<br>I am trying to do an install on CentOS 6.7 with anaconda version 4.3.30, python version 3.8.5<div>Preparing wheel metadata has an error...  In the log, it reports over and over, qmake query showing cc1plus: error: unrecognized command line option "-std=gnu++11"  </div><div>It also reports some Project Error: unknown modules: axcontainer, androidextras, enginio, macextras, quick3d, webkit, webkitwidgets, winextras...</div><div>Then the final error is </div><div>    Checking to see if the dbus-python support should be built...<br>    The dbus-python package does not seem to be installed.<br>    These bindings will be built: Qt, pylupdate, pyrcc.<br>    Generating the Qt bindings...<br>    Generating the pylupdate bindings...<br>    _in_process.py: Q_PID is undefined<br></div><div><br></div><div>Please see below.</div><div><br></div><div>I have some python experience, but not much experience in maintaining python environments.  PyQt5 is listed as a needed dependency for another python package I need.</div><div>Thanks for any help.  Please let me know if I can provide any other info.</div><div>Megan</div><div><br></div><div>Here is what is reported...</div><div><br></div><div>Collecting PyQt5<br>  Using cached PyQt5-5.15.0.tar.gz (3.3 MB)<br>  Installing build dependencies: started<br>  Installing build dependencies: finished with status 'done'<br>  Getting requirements to build wheel: started<br>  Getting requirements to build wheel: finished with status 'done'<br>    Preparing wheel metadata: started<br>    Preparing wheel metadata: finished with status 'error'</div><div>         cwd: /tmp/pip-install-95wp6vn5/pyqt5<br>    Complete output (247 lines):<br>    Querying qmake about your Qt installation...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake -query<br>    This is the GPL version of PyQt 5.15.0 (licensed under the GNU General Public License) for Python 3.8.5 on linux.<br>    Found the license file 'pyqt-gpl.sip'.<br>    Checking to see if the QtCore bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtCore.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtCore/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../pip-install-95wp6vn5/pyqt5/qpy/QtCore -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtCore.o ../../pip-install-95wp6vn5/pyqt5/config-tests/cfgtest_QtCore.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br>    make: *** [cfgtest_QtCore.o] Error 1</span></div><div><br></div><div>    Checking to see if the QtNetwork bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtNetwork.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtNetwork/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNetwork -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtNetwork.o ../../pip-install-95wp6vn5/pyqt5/config-tests/cfgtest_QtNetwork.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br>    make: *** [cfgtest_QtNetwork.o] Error 1</span></div><div><br></div><div>  Checking to see if the QtGui bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtGui.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtGui/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../pip-install-95wp6vn5/pyqt5/qpy/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtGui.o ../../pip-install-95wp6vn5/pyqt5/config-tests/cfgtest_QtGui.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br>    make: *** [cfgtest_QtGui.o] Error 1</span></div><div><br>    Checking to see if the QtWidgets bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtWidgets.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtWidgets/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../pip-install-95wp6vn5/pyqt5/qpy/QtWidgets -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtWidgets -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtWidgets.o cfgtest_QtWidgets.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br>    make: *** [cfgtest_QtWidgets.o] Error 1</span><br><br></div><div>    Checking to see if the QtQml bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtQml.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtQml/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../pip-install-95wp6vn5/pyqt5/qpy/QtQml -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtQml -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNetwork -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtQml.o cfgtest_QtQml.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br>    make: *** [cfgtest_QtQml.o] Error 1</span><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Checking to see if the QAxContainer bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QAxContainer.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QAxContainer/.qmake.stash<br><span style="background-color:rgb(255,255,0)">    Project ERROR: Unknown module(s) in QT: axcontainer<br></span></div><div><br></div><div> Checking to see if the QtAndroidExtras bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtAndroidExtras.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtAndroidExtras/.qmake.stash<br><span style="background-color:rgb(255,255,0)">    Project ERROR: Unknown module(s) in QT: androidextras</span></div><div><br>    Checking to see if the QtBluetooth bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtBluetooth.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtBluetooth/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtBluetooth -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtBluetooth.o cfgtest_QtBluetooth.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtBluetooth.o] Error 1</div><div><br>    Checking to see if the QtDBus bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtDBus.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtDBus/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../../pip-install-95wp6vn5/pyqt5/qpy/QtDBus -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtDBus -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtDBus.o cfgtest_QtDBus.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtDBus.o] Error 1<br></div><div><br></div><div>   The QtDesigner bindings are disabled with a static Qt installation...<br>    Checking to see if the Enginio bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake Enginio.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_Enginio/.qmake.stash<br><span style="background-color:rgb(255,255,0)">    Project ERROR: Unknown module(s) in QT: enginio</span></div><div><br>    Checking to see if the QtHelp bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtHelp.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtHelp/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtHelp -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtWidgets -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtSql -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtHelp.o cfgtest_QtHelp.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtHelp.o] Error 1</div><div><br>    Checking to see if the QtMacExtras bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtMacExtras.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtMacExtras/.qmake.stash<br><span style="background-color:rgb(255,255,0)">    Project ERROR: Unknown module(s) in QT: macextras</span></div><div><br>    Checking to see if the QtMultimedia bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtMultimedia.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtMultimedia/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtMultimedia -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNetwork -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtMultimedia.o cfgtest_QtMultimedia.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtMultimedia.o] Error 1<br></div><div><br></div><div>    Checking to see if the QtMultimediaWidgets bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtMultimediaWidgets.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtMultimediaWidgets/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtMultimediaWidgets -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtMultimedia -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtWidgets -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtGui -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNetwork -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtMultimediaWidgets.o cfgtest_QtMultimediaWidgets.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtMultimediaWidgets.o] Error 1</div><div><br>    Checking to see if the QtNetworkAuth bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtNetworkAuth.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtNetworkAuth/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORKAUTH_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNetworkAuth -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNetwork -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtNetworkAuth.o cfgtest_QtNetworkAuth.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtNetworkAuth.o] Error 1</div><div><br>    Checking to see if the QtNfc bindings can be built...<br>    /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/qmake QtNfc.pro<br>    Info: creating stash file /tmp/tmp_qwdby2i/cfgtest_QtNfc/.qmake.stash<br>    make<br>    g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NFC_LIB -DQT_CORE_LIB -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtNfc -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/include/qt/QtCore -I. -I/export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/mkspecs/linux-g++ -o cfgtest_QtNfc.o cfgtest_QtNfc.cpp<br><span style="background-color:rgb(0,255,0)">    cc1plus: error: unrecognized command line option "-std=gnu++11"<br></span>    make: *** [cfgtest_QtNfc.o] Error 1<br></div><div><br></div><div><br></div><div><<<  Many more errors that look like these. </div><div>Then, last error ...>>></div><div><br></div><div>    Checking to see if the dbus-python support should be built...<br>    The dbus-python package does not seem to be installed.<br>    These bindings will be built: Qt, pylupdate, pyrcc.<br>    Generating the Qt bindings...<br>    Generating the pylupdate bindings...<br>    _in_process.py: Q_PID is undefined<br><br>    ----------------------------------------<br>ERROR: Command errored out with exit status 1: /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/bin/python /export/research/analysis/human/jstephen/shared/programs/python/anaconda3/envs/mne/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpmrddir8v Check the logs for full command output.<br></div><div>MEG Technician<br>The Mind Research Network<br>1101 Yale Blvd. NE<br>Albuquerque, New Mexico 87106<br><br></div></div></div></div></div></div>