-
-
Notifications
You must be signed in to change notification settings - Fork 31
ImportError: No module named site #62
Comments
I have exactly the same problem since last Friday. And no solution.
… Le 6 mars 2018 à 14:57, Pascal Burkhard ***@***.***> a écrit :
I can't get the homebrew Formula to work anymore... I have the impression that the move of homebrew formulas from "python3" to "python" and "python" to ***@***.***" coincided with the build breaking, but I'm not sure.
Last 15 lines from /Users/admin/Library/Logs/Homebrew/qgis3-dev/03.cmake:
[4521/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__core_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o -MF python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o.d -o python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o -c python/core/sip_corepart0.cpp
[4522/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__gui_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart0.cpp.o -MF python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart0.cpp.o.d -o python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart0.cpp.o -c python/gui/sip_guipart0.cpp
[4523/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__core_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart1.cpp.o -MF python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart1.cpp.o.d -o python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart1.cpp.o -c python/core/sip_corepart1.cpp
[4524/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__core_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart3.cpp.o -MF python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart3.cpp.o.d -o python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart3.cpp.o -c python/core/sip_corepart3.cpp
[4525/4564] cd /tmp/qgis3-dev-20180306-47449-5b4370/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E make_directory /tmp/qgis3-dev-20180306-47449-5b4370/build/output/python/qgis/analysis && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy /tmp/qgis3-dev-20180306-47449-5b4370/python/analysis/__init__.py /tmp/qgis3-dev-20180306-47449-5b4370/build/output/python/qgis/analysis
[4526/4564] : && /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -bundle -Wl,-headerpad_max_install_names -Qunused-arguments -F/Library/Frameworks -undefined dynamic_lookup -o output/python/qgis/_core.so python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart1.cpp.o python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart2.cpp.o python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart3.cpp.o -F/usr/local/opt/qca/lib -L/tmp/qgis3-dev-20180306-47449-5b4370/build/src/core -L/tmp/qgis3-dev-20180306-47449-5b4370/build/src/gui -Wl,-rpath,/tmp/qgis3-dev-20180306-47449-5b4370/build/src/core -Wl,-rpath,/tmp/qgis3-dev-20180306-47449-5b4370/build/src/gui output/lib/qgis_core.framework/Versions/3.1/qgis_core output/lib/qgis_native.framework/Versions/3.1/qgis_native -framework ApplicationServices -framework CoreFoundation -framework IOKit -framework AppKit /usr/local/lib/libtasn1.dylib /usr/local/opt/qt/lib/QtXml.framework/QtXml /usr/local/opt/qt/lib/QtSvg.framework/QtSvg /usr/local/opt/qt/lib/QtPrintSupport.framework/QtPrintSupport /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/QtWebKitWidgets /usr/local/opt/qt/lib/QtWidgets.framework/QtWidgets /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/QtWebKit /usr/local/opt/qt/lib/QtGui.framework/QtGui /usr/local/opt/qt/lib/QtNetwork.framework/QtNetwork /usr/local/opt/qt/lib/QtSql.framework/QtSql /usr/local/opt/qt/lib/QtConcurrent.framework/QtConcurrent -framework qca-qt5 /usr/local/lib/libqt5keychain.dylib /usr/local/opt/proj/lib/libproj.dylib /usr/local/opt/geos/lib/libgeos_c.dylib /usr/local/opt/gdal2/lib/libgdal.dylib /usr/local/opt/spatialindex/lib/libspatialindex.dylib /usr/local/opt/expat/lib/libexpat.dylib /usr/local/opt/sqlite/lib/libsqlite3.dylib /usr/local/opt/libspatialite/lib/libspatialite.dylib /usr/local/opt/libzip/lib/libzip.dylib /usr/local/opt/qt/lib/QtPositioning.framework/QtPositioning /usr/local/opt/qt/lib/QtCore.framework/QtCore && :
[4527/4564] cd /tmp/qgis3-dev-20180306-47449-5b4370/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E make_directory /tmp/qgis3-dev-20180306-47449-5b4370/build/output/python/qgis/core && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy /tmp/qgis3-dev-20180306-47449-5b4370/python/core/__init__.py /tmp/qgis3-dev-20180306-47449-5b4370/build/output/python/qgis/core && cd /tmp/qgis3-dev-20180306-47449-5b4370/python && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E make_directory /tmp/qgis3-dev-20180306-47449-5b4370/build/output/python/qgis/core && /usr/local/Cellar/cmake/3.10.2/bin/cmake -E copy /tmp/qgis3-dev-20180306-47449-5b4370/python/core/contextmanagers.py /tmp/qgis3-dev-20180306-47449-5b4370/build/output/python/qgis/core
[4528/4564] cd /tmp/qgis3-dev-20180306-47449-5b4370/build/python/plugins/db_manager && /usr/local/bin/pyrcc5 -o /tmp/qgis3-dev-20180306-47449-5b4370/build/python/plugins/db_manager/resources_rc.py /tmp/qgis3-dev-20180306-47449-5b4370/python/plugins/db_manager/resources.qrc
FAILED: python/plugins/db_manager/resources_rc.py
cd /tmp/qgis3-dev-20180306-47449-5b4370/build/python/plugins/db_manager && /usr/local/bin/pyrcc5 -o /tmp/qgis3-dev-20180306-47449-5b4370/build/python/plugins/db_manager/resources_rc.py /tmp/qgis3-dev-20180306-47449-5b4370/python/plugins/db_manager/resources.qrc
ImportError: No module named site
[4529/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__gui_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart1.cpp.o -MF python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart1.cpp.o.d -o python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart1.cpp.o -c python/gui/sip_guipart1.cpp
[4530/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__gui_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart2.cpp.o -MF python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart2.cpp.o.d -o python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart2.cpp.o -c python/gui/sip_guipart2.cpp
[4531/4564] /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DWITH_BINDINGS -DWITH_QTWEBKIT -Dprotected=public -Dpython_module_qgis__gui_EXPORTS -Isrc/analysis/openstreetmap -Isrc/analysis/interpolation -Isrc/analysis/network -Isrc/analysis/raster -Isrc/analysis/vector -Isrc/analysis/processing -I../python/../src/analysis/openstreetmap -I../python/../src/analysis/interpolation -I../python/../src/analysis/network -I../python/../src/analysis/raster -I../python/../src/analysis/vector -I../python/../src/analysis/processing -I. -isystem /usr/local/Frameworks/Python.framework/Versions/3.6/Headers -isystem /usr/local/Cellar/sip/4.19.8/include -isystem /usr/local/opt/gdal2/include -isystem /usr/local/opt/geos/include -isystem /usr/local/opt/qwt/lib/qwt.framework/Headers -isystem ../external/qextserialport -isystem /usr/local/opt/qca/lib/qca-qt5.framework/Headers -isystem /usr/local/include/qt5keychain -isystem /usr/local/opt/sqlite/include -isystem /usr/local/opt/qscintilla2/include -I../src/core -I../src/core/3d -I../src/core/annotations -I../src/core/auth -I../src/core/expression -I../src/core/pal -I../src/core/diagram -I../src/core/effects -I../src/core/fieldformatter -I../src/core/dxf -I../src/core/geometry -I../src/core/geocms -I../src/core/geocms/geonode -I../src/core/gps -I../src/core/layertree -I../src/core/layout -I../src/core/locator -I../src/core/metadata -I../src/core/processing -I../src/core/processing/models -I../src/core/providers -I../src/core/providers/memory -I../src/core/raster -I../src/core/scalebar -I../src/core/symbology -I../src/plugins -Isrc/core -Isrc/ui -Isrc/analysis -I../src/gui -I../src/gui/symbology -I../src/gui/raster -I../src/gui/attributetable -I../src/gui/auth -I../src/gui/editorwidgets -I../src/gui/editorwidgets/core -I../src/gui/effects -I../src/gui/layertree -I../src/gui/layout -I../src/gui/locator -I../src/gui/processing -Isrc/gui -I../python/../src/server -Isrc/server -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtXml.framework/Headers -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/opt/qt/lib/QtGui.framework/Headers -isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem /usr/local/opt/qt/lib/QtWidgets.framework/Headers -isystem /usr/local/opt/qt/lib/QtSvg.framework/Headers -isystem /usr/local/opt/qt/lib/QtPrintSupport.framework/Headers -isystem /usr/local/opt/qt/lib/QtNetwork.framework/Headers -iframework /usr/local/opt/qt5-webkit/lib -isystem /usr/local/opt/qt5-webkit/lib/QtWebKitWidgets.framework/Headers -isystem /usr/local/opt/qt5-webkit/lib/QtWebKit.framework/Headers -isystem /usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/opt/qt/include -isystem /usr/local/opt/qt/include/QtUiTools -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -fPIC -fvisibility=default -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -w -Wno-deprecated-declarations -F/usr/local/opt/qca/lib -F/usr/local/opt/qwt/lib -fPIC -std=gnu++11 -MD -MT python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart3.cpp.o -MF python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart3.cpp.o.d -o python/CMakeFiles/python_module_qgis__gui.dir/gui/sip_guipart3.cpp.o -c python/gui/sip_guipart3.cpp
ninja: build stopped: subcommand failed.
Any idea what's going on?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#62>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGf6uuPBjEFJ7tH0MPnAdGY7VyyvCsGWks5tbpWsgaJpZM4Sev7o>.
|
The culprit seems to be PyQt5. Installing it using pip allows me to complete a build of qgis3 but there still are errors when launching the app. Now I'm not sure anymore if this is really an issue of the qgis Formula and not the PyQt5 one. |
Well... I’ve tried a number of different things. I've managed to get all dependencies installed and, at least I think, working properly (passing brew test). PyQt tools now work again. I had to build it all from source (gdal2 wasn’t working when using the bottle). I still get an error saying “no module named site”. Full logs here : gist-logs |
Eureka ! Found the problem ! In my case, the /usr/local/bin/pyrcc5 executable had the following in it :
replacing I still don't really know if my issue is a problem of the qgis3-dev formula (probably not...) but if others run into the same issue at least you'll have a "hack" to work with. |
Ok, I tried the change the the
|
Uninstall gdal2 and build it from source (option I believe that proj is now version 5 and that breaks the gdal2 bottle. |
Well, that gdal build failed too... I think I'm trying to live a bit close to the edge!
|
For me, reinstalling gdal2 |
Sorry... That’s one error I haven’t come across. |
This is a clean Mac OS install. Just started it up yesterday! |
And using @sgerke reinstall command for gdal2? To be honest I've done so many different tries since Tuesday that I don't remember everything I might have tweaked. |
Yeah, the comment above was from reinstalling. #62 (comment) |
Yay! It worked! 🎉 |
Doing a combination of suggestions in this thread got it to work for me:
Thanks! |
Hey @harelw, did you need to change the MatPlotLib dependency? |
No, but note that I did pin the qgis tap, so that would force dependencies
specified there
…On Tue, Mar 13, 2018 at 4:37 PM Alex Leith ***@***.***> wrote:
Hey @harelw <https://github.com/harelw>, did you need to change the
MatPlotLib dependency?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFpocYVg-CPNAOsilt5n1Jtd7HlAkKIUks5teFhIgaJpZM4Sev7o>
.
|
I managed to compile and launch QGIS 3.1.0-master but when adding vector or raster layers to the map canvas nothing displays. I also get "No QgsCoordinateTransformContext context set for transform" errors in the log Does anyone else have issues like this? I'm wondering if this has something to do with Proj5. The about dialog says it complied against and running Proj 5.01. |
Ok editing the homebrew proj formula to use Proj.4 worked. I had to edit proj.rb to switch to the Proj 4.9.3 source code:
Then I recompiled from source the following packages: brew reinstall proj --build-from-source
brew reinstall libspatialite --build-from-source
brew reinstall libgeotiff --build-from-source
brew reinstall gdal --with-complete Then I rebuilded qgis3-dev: brew reinstall -v --no-sandbox --with-3d qgis3-dev |
I would suggest we need to get a Proj4 package going again and make that a dependency for qgis3-dev as Proj.5 doesn't look ready for prime time in QGIS. I can raise a issue for this if others agree. |
I can't get the homebrew Formula to work anymore... I have the impression that the move of homebrew formulas from "python3" to "python" and "python" to "python@2" coincided with the build breaking, but I'm not sure.
Last 15 lines from /Users/admin/Library/Logs/Homebrew/qgis3-dev/03.cmake:
Any idea what's going on?
The text was updated successfully, but these errors were encountered: