0

I have seen the below question, and searched around the internet for a tutorial for instructions on getting Pycharm CE to recognise the QGIS package. I have found which interpreter that QGIS is using, and I can import QGIS in terminal, but Pycharm doesn't recognise it.

Adding QGIS-specific Python interpreter to PyCharm on Windows?

Are there any tutorials or specific instructions to get Pycharm and QGIS working together on MacOS?

1

I have utilised the above link that @Fran supplied to add in the appropraite paths to my interpreter without cloning the repository. I have added the following paths to my interpreter:

/Applications/QGIS.app/Contents/Resources/python

Needed for processing framework imports

/Applications/QGIS.app/Contents/Resources/python/plugins/

It was a bit weird trying to find where to add the paths in PyCharm

Preferences >> Project Interpreter >> Click the down arrow to choose interpreter >> Show All> Select the appropriate interpreter>> then click on the folder (Show paths for the selected interpreter >> Add the paths >> apply.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.