You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hello! Im having problem with installation of gis4wrf module. The error occurred few times in the past but I have no idea how to overcome it now. Any advice how to proceed?
Here is the error log from QGIS. I have also installed the netCDF library, but with no effect.
Couldn't load plugin 'gis4wrf' due to an error when calling its classFactory() method
RuntimeError: GIS4WRF: Error installing Python packages Log: Added /home/tomo/.local/share/gis4wrf/python312/local/lib/python3.12/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3.12/site-packages as module search path
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = _parse_requirement(requirement_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
marker = _parse_requirement_marker(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
tokenizer.raise_syntax_error(
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 165, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier)
netCDF4>=None
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 39, in bootstrap_with_ui
for msg_type, msg_val in bootstrap():
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/bootstrap.py", line 164, in bootstrap
pkg_resources.get_distribution('{}>={}'.format(dep.name, dep.min))
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 526, in get_distribution
dist = Requirement.parse(dist)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3215, in parse
(req,) = parse_requirements(s)
^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3174, in init
super(Requirement, self).init(requirement_string)
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in init
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier)
netCDF4>=None
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 22, in classFactory
bootstrap_with_ui(iface)
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 62, in bootstrap_with_ui
raise RuntimeError(PLUGIN_NAME + ': Error installing Python packages\nLog:\n' + log) from e
RuntimeError: GIS4WRF: Error installing Python packages
Log:
Added /home/tomo/.local/share/gis4wrf/python312/local/lib/python3.12/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3.12/site-packages as module search path
Describe the bug
Hello! Im having problem with installation of gis4wrf module. The error occurred few times in the past but I have no idea how to overcome it now. Any advice how to proceed?
Here is the error log from QGIS. I have also installed the netCDF library, but with no effect.
Couldn't load plugin 'gis4wrf' due to an error when calling its classFactory() method
RuntimeError: GIS4WRF: Error installing Python packages Log: Added /home/tomo/.local/share/gis4wrf/python312/local/lib/python3.12/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3.12/site-packages as module search path
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = _parse_requirement(requirement_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
marker = _parse_requirement_marker(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
tokenizer.raise_syntax_error(
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 165, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier)
netCDF4>=None
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 39, in bootstrap_with_ui
for msg_type, msg_val in bootstrap():
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/bootstrap.py", line 164, in bootstrap
pkg_resources.get_distribution('{}>={}'.format(dep.name, dep.min))
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 526, in get_distribution
dist = Requirement.parse(dist)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3215, in parse
(req,) = parse_requirements(s)
^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 3174, in init
super(Requirement, self).init(requirement_string)
File "/usr/lib/python3/dist-packages/pkg_resources/_vendor/packaging/requirements.py", line 37, in init
raise InvalidRequirement(str(e)) from e
pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier)
netCDF4>=None
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 22, in classFactory
bootstrap_with_ui(iface)
File "/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gis4wrf/init.py", line 62, in bootstrap_with_ui
raise RuntimeError(PLUGIN_NAME + ': Error installing Python packages\nLog:\n' + log) from e
RuntimeError: GIS4WRF: Error installing Python packages
Log:
Added /home/tomo/.local/share/gis4wrf/python312/local/lib/python3.12/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3/site-packages as module search pathAdded /home/tomo/.local/share/gis4wrf/python312/lib/python3.12/site-packages as module search path
Python version: 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
QGIS version: 3.34.4-Prizren Prizren, exported
Python Path:
/usr/share/qgis/python
/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python
/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python312.zip
/usr/lib/python3.12
/usr/lib/python3.12/lib-dynload
/usr/local/lib/python3.12/dist-packages
/usr/lib/python3/dist-packages
/home/tomo/.local/share/QGIS/QGIS3/profiles/default/python
/home/tomo/.local/share/gis4wrf/python312/local/lib/python3.12/site-packages
/home/tomo/.local/share/gis4wrf/python312/lib/python3/site-packages
/home/tomo/.local/share/gis4wrf/python312/lib/python3.12/site-packages
The text was updated successfully, but these errors were encountered: