banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

#1 Fri 03 November 2023 15:14

image95
Participant assidu
Date d'inscription: 6 Sep 2014
Messages: 249

QGIS/Plugin DataPlotly: ModuleNotFoundError: No module named 'pandas

Bonjour
Je travaille sous Qgis 3.34.0-Prizren sur Ubuntu.
J'aimerais pouvoir utiliser le plugin DataPlotly.

Via le manager de plugin, l'installation semble fonctionner.
Mais lorsque je tente de l'activer, j'obtiens toujours un message d'erreur disant :

Code:

Impossible de charger l'extension 'DataPlotly' provoque une erreur lors de l'appel à sa méthode classFactory() 

[b]**ModuleNotFoundError: No module named 'pandas'** [/b]
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/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/__init__.py", line 33, in classFactory
    from .data_plotly import DataPlotly
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/data_plotly.py", line 36, in 
    from DataPlotly.processing.dataplotly_provider import DataPlotlyProvider
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/processing/dataplotly_provider.py", line 24, in 
    from DataPlotly.processing.dataplotly_scatterplot import DataPlotlyProcessingScatterPlot
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/DataPlotly/processing/dataplotly_scatterplot.py", line 43, in 
    import pandas as pd
  File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
[b]**ModuleNotFoundError: No module named 'pandas'**[/b]


Version de Python : 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] 
Version de QGIS : 3.34.0-Prizren Prizren, ffbdd678812 

Chemin Python :
/usr/share/qgis/python
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python310.zip
/usr/lib/python3.10
/usr/lib/python3.10/lib-dynload
/usr/local/lib/python3.10/dist-packages
/usr/lib/python3/dist-packages
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/HCMGIS/forms
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/SentinelHub/external/requests_oauthlib-1.3.1-py2.py3-none-any.whl
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2streetview
/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res

Hors ligne

 

#2 Sat 18 November 2023 15:15

JD
Moderateur
Date d'inscription: 8 Aug 2013
Messages: 726

Re: QGIS/Plugin DataPlotly: ModuleNotFoundError: No module named 'pandas

Bonjour,
il vous manque la bibliothèques pandas.
Pour se faire si vous êtes sous windows, il faut lancer le shell

Code:

OSgeo4w.bat

activer l'environnement python et lancer :

Code:

python -m pip install pandas

Hors ligne

 

Pied de page des forums

Powered by FluxBB