<div dir="ltr"><div>Good Day;</div><div>I am trying to configure ellipse to help me write and debug a pyqgis script.</div><div>I have followed the configuration instructions at:<br><a href="https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/plugins/ide_debugging.html#debugging-using-eclipse-and-pydev">https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/plugins/ide_debugging.html#debugging-using-eclipse-and-pydev</a></div><div><br></div><div>However; when I run the script i get an error  saying :<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>ModuleNotFoundError: No module named 'qgis'</div></blockquote><div><br></div><div>The import statements are: <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>import os<br>from qgis.core import processing</div></blockquote><div><br></div><div>The traceback is below:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>pydev debugger: starting (pid: 8272)<br>Traceback (most recent call last):<br>  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><br>    main()<br>  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<br>    globals = debugger.run(setup['file'], None, None, is_module)<br>  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<br>    return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)<br>  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<br>    pydev_imports.execfile(file, globals, locals)  # execute the script<br>  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<br>    exec(compile(contents+"\n", file, 'exec'), glob, loc)<br>  File "C:\Users\macalexander\OneDrive\ITOfficer\Physdev_GIS\property_Tax_revamp\generate_Distance_matrices.py", line 2, in <module><br>    from qgis.core import processing<br>ModuleNotFoundError: No module named 'qgis'</div></blockquote><div><br></div><div>How do I correct the configuration so that the modules can be found?<br></div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font size="1">May the Lord bless you and keep you.<br>May </font><font size="1"><span><font size="1">the Lord</font></span> let his face shine on you and be gracious to you.<br>May </font><font size="1"><span><font size="1">the Lord</font></span> show you his face and bring you peace.<br>(New Jerusalem Bible Numbers 6:24-26)<br><br>Marcathian Alexander<br><br>email: <a href="mailto:marcathian@gmail.com" target="_blank">marcathian@gmail.com</a><br></font><font size="1">Home: (758) 453-3454<br>Mobile: 
<font size="1">(758) </font>

285-5083 / 
<font size="1">(758) </font>

719-2248<br>Work: 
<font size="1">(758) </font>

468-4434</font></div></div></div></div></div></div></div></div></div>