[Qgis-user] Ajuda: Erro python
Jorge Gustavo Rocha
jgr at geomaster.pt
Thu Jun 1 09:35:27 PDT 2023
Oi Fernanda,
Parece um problema com um módulo rastervision que vc instalou.
1) Tente desinstalar esse módulo ou
2) Abra um outro QGIS indo ao menu Settings → User profiles → New profile...
Boa sorte,
Gustavo
On 01/06/23 17:27, Fernanda Pimenta via QGIS-User wrote:
> Prezados (as),
>
> Utilizo a versão 3.28.6. (Firenze) do Qgis e estou tendo uma sequência
> de erros relacionado ao python, apresentado abaixo:
>
> 1° - Logo ao abrir o software a janela com as seguintes informações é
> aberta:
>
> Impossível carregar complemento 'rastervision_qgis' Devido a um erro
> ao chamar o método Class Factory().
>
>
> ModuleNotFoundError: No module named 'rastervision'
>
> Traceback (most recent call last): File
> "C:\PROGRA~1/QGIS32~1.6/apps/qgis-ltr/./python\qgis\utils.py", line
> 423, in _startPlugin plugins[packageName] =
> package.classFactory(iface) File
> "C:\Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rastervision_qgis\__init__.py",
> line 30, in classFactory from .raster_vision import
> RasterVisionPlugin File
> "C:\PROGRA~1/QGIS32~1.6/apps/qgis-ltr/./python\qgis\utils.py", line
> 888, in _import mod = _builtin_import(name, globals, locals,
> fromlist, level) File
> "C:\Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rastervision_qgis\raster_vision.py",
> line 27, in from .registry import Registry File
> "C:\PROGRA~1/QGIS32~1.6/apps/qgis-ltr/./python\qgis\utils.py", line
> 888, in _import mod = _builtin_import(name, globals, locals,
> fromlist, level) File
> "C:\Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rastervision_qgis\registry.py",
> line 1, in import rastervision as rv File
> "C:\PROGRA~1/QGIS32~1.6/apps/qgis-ltr/./python\qgis\utils.py", line
> 888, in _import mod = _builtin_import(name, globals, locals,
> fromlist, level) ModuleNotFoundError: No module named 'rastervision'
>
>
> Versão do Python: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52)
> [MSC v.1928 64 bit (AMD64)]
> Versão do QGIS: 3.28.6-Firenze Firenze, 868c9fa03b
>
>
> Caminho do Python:
>
> * C:\Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\TocTable-main
> * C:\Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\raster_quantilizer
> * C:/PROGRA~1/QGIS32~1.6/apps/qgis-ltr/./python
> * C:/Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python
> * C:/Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
> * C:/PROGRA~1/QGIS32~1.6/apps/qgis-ltr/./python/plugins
> * C:\PROGRA~1\QGIS32~1.6\apps\grass\grass82\etc\python
> * C:\Users\Fernanda\Documents
> * C:\Program Files\QGIS 3.28.6\bin\python39.zip
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39\DLLs
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39\lib
> * C:\Program Files\QGIS 3.28.6\bin
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39\lib\site-packages
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39\lib\site-packages\win32
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39\lib\site-packages\win32\lib
> * C:\PROGRA~1\QGIS32~1.6\apps\Python39\lib\site-packages\Pythonwin
> * C:/Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python
> * C:\Users\Fernanda\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\HCMGIS/forms
> * .
> * C:\Users/Fernanda/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\vrtbuilderplugin
> * C:\Users\Fernanda\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\vrtbuilderplugin\vrtbuilder
>
>
> Como posso solucionar esse erro? Aguardo retorno.
> Obrigada desde já.
>
> Fernanda.
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
--
Jorge Gustavo Rocha
Geomaster, LDA
"Take the open source journey with us"
VAT/NIF: PT 510 906 109
Phone: +351 253 257 173 (landline)
Mobile: +351 910 333 888 (cellular)
Rua Afonso Palmeira, 31, 7 D
4715-278 Braga
PORTUGAL
GPS 41.54627, -8.40432
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230601/fc389579/attachment.htm>
More information about the QGIS-User
mailing list