Opened 13 months ago
Closed 11 months ago
#68628 closed defect (fixed)
py311-scipy @1.10.1: fails to build
Reported by: | Octansf (FTS) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | sonoma | Cc: | nilason (Nicklas Larsson), cooljeanius (Eric Gallager) |
Port: | py311-scipy |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
when I try to install with ports qgis -ltr always gave me the same error: Failed to build py311-scipy: command execution failed
I clean all dependencias and resintall all OS System but nothing works I'm working in a MacBook Pro M2
Entire los in terminal:
sudo port install qgis3-ltr +grass ---> Computing dependencies for qgis3-ltr The following dependencies will be installed: botan clang-16 kealib leveldb libgcrypt libgpg-error llvm-16 muparser nspr nss py-sympy_select py311-esda py311-giddy py311-inequality py311-joblib py311-libpysal py311-mapclassify py311-mgwr py311-momepy py311-mpmath py311-networkx py311-numba py311-pointpats py311-pulp py311-pysal py311-quantecon py311-rasterio py311-rasterstats py311-rsgislib py311-rtree py311-scikit-learn py311-scipy py311-seaborn py311-segregation py311-simplejson py311-snuggs py311-spaghetti py311-spglm py311-spint py311-splot py311-spopt py311-spreg py311-spvcm py311-statsmodels py311-sympy py311-termcolor py311-threadpoolctl py311-tobler py311-tqdm python27 python2_select qca-qt5 qca-qt5-ossl qjson-qt5 qt5-qtwebkit qtkeychain-qt5 qwt-qt5 rsgislib spatialindex Continue? [Y/n]: y ---> Fetching archive for py311-scipy ---> Attempting to fetch py311-scipy-1.10.1_0+gfortran+openblas.darwin_23.arm64.tbz2 from https://packages.macports.org/py311-scipy ---> Attempting to fetch py311-scipy-1.10.1_0+gfortran+openblas.darwin_23.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py311-scipy ---> Attempting to fetch py311-scipy-1.10.1_0+gfortran+openblas.darwin_23.arm64.tbz2 from http://mirror.fcix.net/macports/packages/py311-scipy ---> Building py311-scipy Error: Failed to build py311-scipy: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-scipy/py311-scipy/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port qgis3-ltr failed
Attachments (4)
Change History (27)
comment:1 Changed 13 months ago by Octansf (FTS)
comment:2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | sonoma added; installing qgis-ltr +grass removed |
Port: | py311-scipy added |
Summary: | installing qgis-ltr +grass or just qgis-ltr → py311-scipy @1.10.1: fails to build |
Please attach py311-scipy's main.log file.
comment:3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
Changed 13 months ago by Octansf (FTS)
comment:4 Changed 13 months ago by nilason (Nicklas Larsson)
Temporary workaround is to install qgis with -plugin_support311
.
comment:5 Changed 13 months ago by Octansf (FTS)
Hi Nilason
Can’t you give me the steps to installing install qgis with -plugin_support311.. Please. I’m new one with macports
Thanks in Advanced
Sincerely
Fernando
comment:6 Changed 13 months ago by nilason (Nicklas Larsson)
Sorry for being short.
The minus character indicates “exclude” variant (see https://guide.macports.org/#using.variants). What I mean try:
sudo port install qgis3-ltr +grass -plugin_support311
The plugin_support311 variant happen to be what declare py-scipy as a dependant to QGIS.
comment:7 Changed 13 months ago by nilason (Nicklas Larsson)
Fernando, you should before you try install again do a sudo port clean qgis-ltr
to start over with clean table.
comment:8 Changed 13 months ago by nilason (Nicklas Larsson)
Cc: | nilason added |
---|
comment:9 follow-up: 10 Changed 13 months ago by Octansf (FTS)
Hello Nicklas , this happened when I try to install again:
fer@Fer-McBook-Pro ~ % sudo port clean qgis-ltr Password: Error: Port qgis-ltr not found fer@Fer-McBook-Pro ~ % sudo port install qgis3-ltr +grass -plugin_support311 Error: Requested variants "+grass+postgresql15+proj9+python311" do not match those the build was started with: "+grass+plugin_support311+postgresql15+proj9+python311". Error: Please use the same variants again, or run 'port clean qgis3-ltr' first to remove the existing partially completed build. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port qgis3-ltr failed fer@Fer-McBook-Pro ~ %
What can I do ring??
Thanks in advance
comment:10 Changed 13 months ago by nilason (Nicklas Larsson)
Replying to Octansf:
Hello Nicklas , this happened when I try to install again:
fer@Fer-McBook-Pro ~ % sudo port clean qgis-ltr Password: Error: Port qgis-ltr not found fer@Fer-McBook-Pro ~ % sudo port install qgis3-ltr +grass -plugin_support311 Error: Requested variants "+grass+postgresql15+proj9+python311" do not match those the build was started with: "+grass+plugin_support311+postgresql15+proj9+python311". Error: Please use the same variants again, or run 'port clean qgis3-ltr' first to remove the existing partially completed build. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port qgis3-ltr failed fer@Fer-McBook-Pro ~ %What can I do ring??
Thanks in advance
You need to clean the build first:
sudo port clean qgis-ltr sudo port install qgis3-ltr +grass -plugin_support311
Changed 13 months ago by Octansf (FTS)
Attachment: | install_qgis_complete_log_success.txt added |
---|
comment:11 Changed 13 months ago by Octansf (FTS)
Hi Nicklas, I'm Sorry my mistake when try to made clean of qgis I forgot put 3 before -ltr. I try again and the result I put in attachment txt file. I hope help others. Thanks for all your kind attention
comment:12 Changed 13 months ago by nilason (Nicklas Larsson)
Oh, that misspelling was my fault, sorry!
Glad it worked out for you!
Changed 12 months ago by yokuha
Attachment: | 2023-11-20-main.log added |
---|
Changed 12 months ago by yokuha
Attachment: | 2023-11-20-installed.log added |
---|
comment:13 Changed 12 months ago by yokuha
I have the same problem with a vanilla installation of MacPorts on a fresh upgrade to macOS sonoma.
I updated the OS, installed the appropriate MacPorts installer, uninstalled all ports, reclaimed everything, then port installed
everything I had requested before without any special variants. Led to the specified error.
I attach the 2023-11-20-main.log
with the failure and the list of all installed ports in 2023-11-20-installed.log
.
comment:14 follow-up: 16 Changed 12 months ago by Octansf (FTS)
Hi, everybody. With the instalation maded, I have a new Problem it is next: When I try to install new plugins this is happends
Couldn't load plugin 'go2streetview' due to an error when calling its classFactory() method ImportError: cannot import name 'QtWebKit' from 'PyQt5' (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyQt5/__init__.py) Traceback (most recent call last): File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/__init__.py", line 34, in classFactory from .go2streetview import go2streetview File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/go2streetview.py", line 22, in from PyQt5 import Qt, QtCore, QtWidgets, QtGui, QtWebKit, QtWebKitWidgets, QtXml, QtNetwork, uic ImportError: cannot import name 'QtWebKit' from 'PyQt5' (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyQt5/__init__.py) Python version: 3.11.6 (main, Oct 26 2023, 18:47:38) [Clang 15.0.0 (clang-1500.0.40.1)] QGIS version: 3.28.12-Firenze Firenze, exported Python Path: /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/fer/Proj/arn/gis/con_1800/geo/bd_new_2023_m04_a_07 /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res
comment:15 follow-up: 17 Changed 12 months ago by Octansf (FTS)
Another thing it is happend:
An error occurred during execution of following code: faulthandler.enable(file=fault_handler_file) Traceback (most recent call last): File "", line 1, in PermissionError: [Errno 1] Operation not permitted Python version: 3.11.6 (main, Oct 26 2023, 18:47:38) [Clang 15.0.0 (clang-1500.0.40.1)] QGIS version: 3.28.12-Firenze 'Firenze', exported Python path: ['/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python', '/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python', '/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins', '/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins', '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11', '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload', '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages']
comment:16 Changed 12 months ago by nilason (Nicklas Larsson)
Replying to Octansf:
Hi, everybody. With the instalation maded, I have a new Problem it is next: When I try to install new plugins this is happends
Couldn't load plugin 'go2streetview' due to an error when calling its classFactory() method
ImportError: cannot import name 'QtWebKit' from 'PyQt5' (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/PyQt5/init.py) Traceback (most recent call last):
You probably need to install 'py-pyqt5' with 'webkit' variant, e.g. sudo port install py311-pyqt5 +webkit
.
comment:17 Changed 12 months ago by nilason (Nicklas Larsson)
comment:18 follow-up: 19 Changed 12 months ago by Octansf (FTS)
Hi, good afternoon
Another error appear
ModuleNotFoundError: No module named 'future' Traceback (most recent call last): File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/OSMDownloader/__init__.py", line 34, in classFactory from .osmDownloader import OSMDownloader File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/OSMDownloader/osmDownloader.py", line 31, in from .osmDownloader_dialog import OSMDownloaderDialog File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/OSMDownloader/osmDownloader_dialog.py", line 36, in from .osm_downloader import OSMRequest File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/OSMDownloader/osm_downloader.py", line 25, in from future import standard_library File "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'future' Python version: 3.11.6 (main, Oct 26 2023, 18:47:38) [Clang 15.0.0 (clang-1500.0.40.1)] QGIS version: 3.28.12-Firenze Firenze, exported Python Path: /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res /Users/fer/Proj/arn/gis/con_1800/geo/bd_new_2023_m04_a_07
Why this happend?
Thanks a Lot
comment:19 Changed 12 months ago by nilason (Nicklas Larsson)
Replying to Octansf:
ModuleNotFoundError: No module named 'future' Traceback (most recent call last):
If you have ModuleNotFoundError
problem with a QGIS plugin, it indicates there is a missing Python module. You can try to install sudo port install py311-future
.
The Python modules are usually named in the form: py{python version without dot}-{module name}
, so if you have more similar problem you know how to try to fix it.
comment:20 Changed 12 months ago by Octansf (FTS)
Thank you for your kind attention and I apologise for my ignorance. God bless you all
comment:21 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Please use WikiFormatting and TracLinks.
comment:22 Changed 12 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:23 Changed 11 months ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
MACOS System Sonoma 14.1