Create a PyQGIS Development Environment Using Conda and VScode
As a self-taught PyQGIS developer, one of my main hurdles has always been to prepare the development environment for PyQGIS. An environment that allow me to run PyQGIS scripts, helps me code faster by providing PyQGIS highlighting and autocompletion, enables me to debug my plugins and scripts as they run, etc…
I have been a user (and even a… “cof cof”… maintainer) of the QGIS packages for conda provided by the conda-forge community. In Linux, it has allowed me to easily install the LTR version of QGIS (or any other version) alongside the most recent QGIS version provided by qgis.org apt repositories. I ended up finding that this was quite convenient for development too.