2

How do i setup pycharm to recognize QGIS modules?

  • IDE: PyCharm
  • OS: Ubuntu 18.04
  • QGIS: 3.8

example of imports

enter image description here

this answer is very close to the solution but I cannot add the interpreter location

I've found the location of the plugins folder but I cannot see a python executable here

enter image description here

Here is a screen shot of the "add interpreter" dialogue which I have tried to add the folder location but as you can see it is grayed out. Any suggestions.

enter image description here

2
  • Under windows, using pyCharm with QGIS, you have to start pyCharm like you start qgis. In windows it's a batch file, obviously, may be there is a equivalent shell script you could look at? Ah, and what version of qgis do you use? Sep 24, 2019 at 14:11
  • QGIS version 3.8 Sep 25, 2019 at 6:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.