[Qgis-user] How to get Spyder IDE working with QGIS

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Thu Oct 4 05:50:44 PDT 2018


Hi John,

If you figure this one out, can you poste the solution?  I would like to do the same thing.

Thanks
Nicolas

> Le 2 oct. 2018 à 20:51, John Walker <jdkwalker21 at gmail.com> a écrit :
> 
> Hi, would anyone know how to configure Spyder to work with the QGIS library? I am finding the python editor in QGIS difficult to work with because it has no debugger and I cannot run highlighted code. I have tried a few things:
> 
> 1. created a new conda environment and installed QGIS via conda using: conda install -c conda-forge qgis. However I get errors when trying to import qgis.core
> 
> 2. installed Spyder within OSGeo4W QGIS python instance i.e.
> py3-env
> python -m pip install spyder
> But this gives errors in the IPython console i.e.
> SyntaxError: invalid syntax
> File "C:\OSGEO4~1\apps\Python36\lib\site.py", line 177
> file=sys.stderr)
> Thanks for any help.
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181004/e19ff396/attachment.html>


More information about the Qgis-user mailing list