Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

Import SIP error when using homebrew QGIS #45

Closed
pat-s opened this issue Feb 5, 2017 · 0 comments · Fixed by #51
Closed

Import SIP error when using homebrew QGIS #45

pat-s opened this issue Feb 5, 2017 · 0 comments · Fixed by #51

Comments

@pat-s
Copy link
Member

pat-s commented Feb 5, 2017

Any RQGIS call returns

Traceback (most recent call last):
  File "py_cmd.py", line 3, in <module>
    from qgis.core import *
  File "/usr/local/Cellar/qgis2/2.18.3/QGIS.app/Contents/Resources/python/qgis/__init__.py", line 26, in <module>
    from qgis.PyQt import QtCore
  File "/usr/local/Cellar/qgis2/2.18.3/QGIS.app/Contents/Resources/python/qgis/PyQt/QtCore.py", line 26, in <module>
    import sip
ImportError: No module named sip

Related:

SIP is not found by /usr/bin/python. Using my default homebrew python, SIP is found but I get

>>> from qgis.core import *
Segmentation fault: 11

@rkrug Are you getting the same error message?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant