[MacPorts] #63247: Build does not honor selected python version
MacPorts
noreply at macports.org
Wed Jul 14 15:36:53 UTC 2021
#63247: Build does not honor selected python version
-------------------------+--------------------
Reporter: aaschwanden | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: qgis3
-------------------------+--------------------
Updating/installing qgis3 with python 3.8 with
{{{
sudo port -vN install qgis3 -python39 +python38 +clang90 +mpich
}}}
results in
{{{
-- Found GSL: -L/opt/local/lib -lgsl -lgslcblas
-- Found Python executable: /opt/local/bin/python3.9 (version 3.9.6)
-- Python library:
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib
-- Python site-packages:
/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
/site-packages
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
/QGIS-3_20_0/cmake/FindPyQt5.py", line 34, in <module>
import PyQt5.QtCore
ModuleNotFoundError: No module named 'PyQt5'
CMake Error at cmake/FindPyQt5.cmake:55 (MESSAGE):
Could not find PyQt5
}}}
I'm not sure why it trys to use python39 instead of the selected python38.
--
Ticket URL: <https://trac.macports.org/ticket/63247>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list