Replies: 8 comments 18 replies
-
I see you also submitted an issue. Lets start here and then move over to the issue if needed. I need more info. What operating system and what version of UMEP are you trying to install. I presume it is processing for UMEP? |
Beta Was this translation helpful? Give feedback.
-
not the same message error |
Beta Was this translation helpful? Give feedback.
-
Although this issue has been answered in the Discussion, I have some comments regarding using a conda environment in both Windows and Linux for QGIS and UMEP. I always use miniconda (minimal conda), and never Anaconda as the package manager. Regarding pip, only use pip to install a package if there is no other option and only after you have set up your environment exactly as you need it. You want to avoid breaking your environment and ending up with package conflicts. Creating a new miniconda environment is the best way to experiment and learn how to use conda. For newcomers to miniconda, these webpages are indispensable: I run a separate miniconda environment each for QGIS v3.16 LTR, v3.18 and next will be another for v3.20 It is easy and straight forward to run your all your conda environments from a separate fast SSD disk (e.g. SanDisk or other) that is not your Windows or Linux OS drive. There are tutorials on the internet for this. I found it easier under Ubuntu linux. In other miniconda environments I am able to compile from source, run cuda code, implement other environments from a .yml text file .... etc If one QGIS environment breaks or fails for some reason, then remove it and setup a new minimal conda environment. That being said, there is a world of difference running miniconda on Ubuntu compared to the Windows file management system. |
Beta Was this translation helpful? Give feedback.
-
Just for completion, I have attached two yml files that illustrate the two miniconda environments I created for QGIS v3.16 and v3.18 Now stay in this activated environment to install your version of qgis Then read here to understand installing qgis from the conda-forge channel: Generally I then install the tricky python packages immediately after I have installed qgis The point is to experiment with different environments until you feel that the python packages are optimal for your purpose or research. For more details, you should read this conda user manual page: Comments: Hope this example helps newcomers to QGIS on miniconda. |
Beta Was this translation helpful? Give feedback.
-
I had done the same thing. With anaconda, I created a new environment specially for Qgis, I installed the Qgis version I was interested in (Qgis 3.16) then I installed the missing plugins. Thanks to the team for your help |
Beta Was this translation helpful? Give feedback.
-
Hi. I'm a beginner level QGIS user. I don't use it through anaconda (sys.executable: 'C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe'). When I tried to install UMEP plug-in, I got the following message:
|
Beta Was this translation helpful? Give feedback.
-
It seems that you need to install the python module called "packaging". Although not related to QGIS/UMEP, there is a discussion on Stack Exchange regarding this module: |
Beta Was this translation helpful? Give feedback.
-
We are in transition between QGIS 3.16 and QGIS 3.20 which make use of different Python versions (3.7 and 3.9). That might be why you have issues. I see that packaging now is available from the installation repository: Visit https://umep-docs.readthedocs.io/en/latest/Getting_Started.html#adding-missing-python-libraries-and-other-osgeo-functionalities and see if you can install packaging on your system. |
Beta Was this translation helpful? Give feedback.
-
Python error : Unable to load the 'processing_umep' extension causes an error when calling its classFactory() method See the Python error log for more details
2021-08-09T10:16:41 WARNING warning:C:\PROGRA
1/QGIS311.8/apps/qgis-ltr/./python\qgis\utils.py:793: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative usesmod = _builtin_import(name, globals, locals, fromlist, level)
Beta Was this translation helpful? Give feedback.
All reactions