TransWikia.com

QGIS Unable To Load Processing, Vector Tools and Plugins

Geographic Information Systems Asked on December 21, 2021

I am currently facing an issue with QGIS 3.8.3. In which I am unable to use Vector Tools and other plugins. Missing Vector Tools

Below are some of the trackbacks for the Python error. I am unable to show all due to the word count when posting the question:

Couldn't load plugin 'processing' 

OSError: [WinError 193] %1 is not a valid Win32 application 
Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 312, in loadPlugin
    __import__(packageName)
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python/pluginsprocessing__init__.py", line 25, in 
    from processing.tools.general import *              # NOQA
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python/pluginsprocessingtoolsgeneral.py", line 32, in 
    from processing.core.Processing import Processing
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python/pluginsprocessingcoreProcessing.py", line 54, in 
    from processing.algs.qgis.QgisAlgorithmProvider import QgisAlgorithmProvider  # NOQA
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python/pluginsprocessingalgsqgisQgisAlgorithmProvider.py", line 76, in 
    from .HypsometricCurves import HypsometricCurves
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python/pluginsprocessingalgsqgisHypsometricCurves.py", line 25, in 
    import numpy
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:UsersjeromAppDataRoamingPythonPython37site-packagesnumpy__init__.py", line 140, in 
    from . import _distributor_init
  File "C:/PROGRA~1/QGIS3~1.8/apps/qgis/./pythonqgisutils.py", line 737, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:UsersjeromAppDataRoamingPythonPython37site-packagesnumpy_distributor_init.py", line 26, in 
    WinDLL(os.path.abspath(filename))
  File "C:PROGRA~1QGIS3~1.8appsPython37libctypes__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application


Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] 
QGIS version: 3.8.3-Zanzibar Zanzibar, 685d8b15d2 

Python Path:
C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python
C:/Users/jerom/AppData/Roaming/QGIS/QGIS3profilesdefault/python
C:/Users/jerom/AppData/Roaming/QGIS/QGIS3profilesdefault/python/plugins
C:/PROGRA~1/QGIS3~1.8/apps/qgis/./python/plugins
C:Program FilesQGIS 3.8binpython37.zip
C:PROGRA~1QGIS3~1.8appsPython37DLLs
C:PROGRA~1QGIS3~1.8appsPython37lib
C:Program FilesQGIS 3.8bin
C:UsersjeromAppDataRoamingPythonPython37site-packages
C:UsersjeromAppDataRoamingPythonPython37site-packageswin32
C:UsersjeromAppDataRoamingPythonPython37site-packageswin32lib
C:UsersjeromAppDataRoamingPythonPython37site-packagesPythonwin
C:PROGRA~1QGIS3~1.8appsPython37
C:PROGRA~1QGIS3~1.8appsPython37libsite-packages
C:PROGRA~1QGIS3~1.8appsPython37libsite-packageswin32
C:PROGRA~1QGIS3~1.8appsPython37libsite-packageswin32lib
C:PROGRA~1QGIS3~1.8appsPython37libsite-packagesPythonwin
C:/Users/jerom/AppData/Roaming/QGIS/QGIS3profilesdefault/python
C:UsersjeromAppDataRoamingPythonPython37site-packagesIPythonextensions
C:UsersjeromAppDataRoamingQGISQGIS3profilesdefaultpythonpluginsmmqgis/forms

I have re-installed QGIS many times and I am still facing this issue.

Any help or advice for this?

2 Answers

I've resolved this problem by re-installing numpy. This seems to the problem here, as well : File "C:UsersjeromAppDataRoamingPythonPython37site-packagesnumpy_distributor_init.py". I guess there is a 32 bit numpy installation somewhere.

Go to OsGeo4w Shell and type py3_env. You should see Python variables. Then type pip uninstall numpy and pip install numpy.

PS. OsGeo4W shell is accessible from the same application folder as QGIS.

Answered by Zoran on December 21, 2021

Issue resolved by installing the 32bit version of QGIS.

Answered by Jerome Quah on December 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP