Hello, Did you add a qgis entry in “Forced Builtins” Python parameters?
[cid:image001.png@01D6C3D4.466FBF60] → Sylvain PIERRE Chef de projet système d’information Direction des Systèmes d’Information Service Projets et Applications Numériques Conseil Départemental du Bas-Rhin [cid:image002.jpg@01D6C3D4.466FBF60]<http://www.bas-rhin.fr/> Hôtel du Département 1 place du Quartier Blanc 67964 Strasbourg Cedex 9 Tél : 03 88 76 68 88 - mobile : Mobile : Email : sylvain.pie...@bas-rhin.fr<mailto:sylvain.pie...@bas-rhin.fr> www.bas-rhin.fr<http://www.bas-rhin.fr/> De : Qgis-user <qgis-user-boun...@lists.osgeo.org> De la part de Marcathian Alexander Envoyé : mercredi 25 novembre 2020 23:01 À : qgis-user@lists.osgeo.org Objet : [Qgis-user] PyQgis script not finding module in eclipse IDE Good Day; I am trying to configure ellipse to help me write and debug a pyqgis script. I have followed the configuration instructions at: https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/plugins/ide_debugging.html#debugging-using-eclipse-and-pydev However; when I run the script i get an error saying : ModuleNotFoundError: No module named 'qgis' The import statements are: import os from qgis.core import processing The traceback is below: pydev debugger: starting (pid: 8272) Traceback (most recent call last): File "C:\Users\macalexander\.eclipse\org.eclipse.platform_4.17.0_1709980481_win32_win32_x86_64\plugins\org.python.pydev.core_8.0.1.202011071328\pysrc\pydevd.py", line 3215, in <module> main() File "C:\Users\macalexander\.eclipse\org.eclipse.platform_4.17.0_1709980481_win32_win32_x86_64\plugins\org.python.pydev.core_8.0.1.202011071328\pysrc\pydevd.py", line 3208, in main globals = debugger.run(setup['file'], None, None, is_module) File "C:\Users\macalexander\.eclipse\org.eclipse.platform_4.17.0_1709980481_win32_win32_x86_64\plugins\org.python.pydev.core_8.0.1.202011071328\pysrc\pydevd.py", line 2282, in run return self._exec(is_module, entry_point_fn, module_name, file, globals, locals) File "C:\Users\macalexander\.eclipse\org.eclipse.platform_4.17.0_1709980481_win32_win32_x86_64\plugins\org.python.pydev.core_8.0.1.202011071328\pysrc\pydevd.py", line 2289, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "C:\Users\macalexander\.eclipse\org.eclipse.platform_4.17.0_1709980481_win32_win32_x86_64\plugins\org.python.pydev.core_8.0.1.202011071328\pysrc\_pydev_imps\_pydev_execfile.py", line 25, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:\Users\macalexander\OneDrive\ITOfficer\Physdev_GIS\property_Tax_revamp\generate_Distance_matrices.py", line 2, in <module> from qgis.core import processing ModuleNotFoundError: No module named 'qgis' How do I correct the configuration so that the modules can be found? May the Lord bless you and keep you. May the Lord let his face shine on you and be gracious to you. May the Lord show you his face and bring you peace. (New Jerusalem Bible Numbers 6:24-26) Marcathian Alexander email: marcath...@gmail.com<mailto:marcath...@gmail.com> Home: (758) 453-3454 Mobile: (758) 285-5083 / (758) 719-2248 Work: (758) 468-4434
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user