Questions tagged [modulenotfounderror]
is raised by `import` when a module could not be located. It is also raised when `None` is found in `sys.modules`
9 questions
1 vote
1 answer
103 views
Importing custom Python package located in external folder to QGIS processing plugin
I'm writing a processing plugin for QGIS v3.38.2 that reads in geo-data of point objects in a proprietary JSON format. The goal is to store this data in a temporary layer and display it on a map. The ...
0 votes
2 answers
781 views
How to import other scripts in the same folder?
I'm writing a PyQGIS script and I would import in my script other external scripts. I tried in this way but the code doesn't work. from PyQt5.QtGui import * from PyQt5.QtCore import * import ...
0 votes
1 answer
54 views
No result from algorithm r.stats in QGIS
I don't understand why algorithm r.stats doesn't give me result in the sidepanel (show result); the error is 'impossible open the file' What can I do to solve the problem? I show you: Versione di QGIS:...
0 votes
1 answer
163 views
QGIS python plugin install : miss python qgis mock module
I work with QGIS 3.32.2-Lima on Ubuntu. I would like to install and use this useful plugin : https://plugins.qgis.org/plugins/spectral_libraries/ But it seems to be deprecated? So when I try to ...
1 vote
0 answers
269 views
QGIS Flatpak installation 'ModuleNotFoundError' under Linux Mint
I'm pretty new to Linux and trying to install QGIS with some extra plugins for hydrodynamic modelling. I followed the instructions regarding the flatpak installation on qgis.org. After installing the ...
7 votes
1 answer
192 views
Organize all dialogs in one package QGIS 3 Plugin
To organize better the code in my QGIS 3 Plugin, I tried to put all dialogs in one package called dialogs, but when I open QGIS it says ModuleNotFoundError: No module named 'dialogs' This is the code ...
6 votes
1 answer
4k views
Import qgis.core in PyCharm: "No Module Named Pyqt5.Qtcore"
I would like to work on Python script with tools from qgis in a standalone software (like Pycharm or IDLE). I am quite new with Python programming and with setting up a work environnement. In order ...
11 votes
6 answers
11k views
Access QGIS API from Anaconda python environment using Conda-Forge
I am trying to use QGIS in stand-alone python scripts (windows 10, python 3.6.6). After the following steps... create new conda environment (geospatial) install the qgis conda-forge package through ...
22 votes
7 answers
15k views
QGIS 3.0 can't load plugin processing, no module named 'osgeo', on Manjaro Linux
I have installed QGIS3 from the AUR package, as well as all optional dependencies: https://aur.archlinux.org/packages/qgis/ However, when launching, I receive the following error: Couldn't load ...