-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems of installing the deepness plugin stettings #197
Comments
Hi @vott-coder! If you are a more advanced user, check these steps: Update the OpenCV (cv2) library in QGIS:
If the error still exists, you need to respond to the questions:
In the future, we plan to record tutorials for Ubuntu and Windows systems on how to install Deepness, including the most often issues solved. Furthermore, we plan to manage some specific cases in the plugin background, but it is challenging to maintain compatibility for all OSes and QGIS, python, and library versions. |
|
Hi, after re-installing still the same error but in the logbook for plug-ins: 2024-12-13T13:13:52 INFO Geladen GRASS 8 (Pad: C:/PROGRA Installation of required packages finished. Validating installation... I've also tried this but didn't see the message (successfully installed...), but I am not an experienced user... Windows 11 enterprise |
Hi, it seems Deepness cannot install the opencv python package (ModuleNotFoundError: No module named 'cv2'). Please try to install it manually, I think there were already some detailed instructions in the issues. |
Hi, now I've got this:
import pip
pip.main(['install', 'opencv-python'])
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))': /simple/opencv-python/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))': /simple/opencv-python/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))': /simple/opencv-python/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))': /simple/opencv-python/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))': /simple/opencv-python/
Could not fetch URL https://pypi.org/simple/opencv-python/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/opencv-python/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))) - skipping
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))) - skipping
1
import -m pip
File "<input>", line 1
import -m pip
^
SyntaxError: invalid syntax
Met vriendelijke groeten
Veerle Ott
Deskundige Gis & Data-analyse
stad Sint-Niklaas
Stadhuis
Grote Markt 1– 9100 Sint-Niklaas
Tel 03/7783532
GSM 0499/980890
www.sint-niklaas.be<http://www.sint-niklaas.be/>
[cid:27393d1d-bef8-4634-ace1-b8f3d1e09893]
…________________________________
Van: przemyslaw-aszkowski ***@***.***>
Verzonden: vrijdag 13 december 2024 13:28
Aan: PUTvision/qgis-plugin-deepness ***@***.***>
CC: Veerle Ott ***@***.***>; Mention ***@***.***>
Onderwerp: Re: [PUTvision/qgis-plugin-deepness] problems of installing the deepness plugin stettings (Issue #197)
Hi, it seems Deepness cannot install the opencv python package (ModuleNotFoundError: No module named 'cv2'). Please try to install it manually, I think there were already some detailed instructions in the issues.
Let me know if you cannot find it.
—
Reply to this email directly, view it on GitHub<#197 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BNVV5SQOVLSQIO3LLDOTE6D2FLHHFAVCNFSM6AAAAABTRYL74KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBRGM2DCOBYG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi, I wanted to install the deepness plugin to use it for determining the trees on our rasterfile.
I've followed these instructions on the paper:
https://mapscaping.com/deep-learning-image-segmentation-qgis/
and in step 6 I've got these errors:
Installation of required packages finished. Validating installation...
Python packages required by the plugin could not be loaded due to the following error:
Traceback (most recent call last):
File "C:\Users/veerle.ott/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deepness\dialogs\packages_installer\packages_installer_dialog.py", line 300, in check_packages_installation_and_log
import_packages()
File "C:\Users/veerle.ott/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deepness\dialogs\packages_installer\packages_installer_dialog.py", line 325, in import_packages
import_package(package)
File "C:\Users/veerle.ott/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\deepness\dialogs\packages_installer\packages_installer_dialog.py", line 320, in import_package
importlib.import_module(package.import_name)
File "C:\PROGRA
1\QGIS321.6\apps\Python39\lib\importlib_init.py", line 127, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cv2'
What can I do?
thanks in advance
The text was updated successfully, but these errors were encountered: