Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enmapbox installation: Couldn't load SIP module. #947

Open
aloboa opened this issue Jul 16, 2024 · 1 comment
Open

Enmapbox installation: Couldn't load SIP module. #947

aloboa opened this issue Jul 16, 2024 · 1 comment
Assignees

Comments

@aloboa
Copy link

aloboa commented Jul 16, 2024

Following directions "Option A: Install QGIS via the official repository" in
https://enmap-box.readthedocs.io/en/latest/usr_section/usr_installation.html
on a new machine running Ubuntu Ubuntu 22.04.4 LTS

leads to (step 8):

Couldn't load SIP module.
Python support will be disabled.


Traceback (most recent call last):
  File "", line 1, in 
ModuleNotFoundError: No module named 'qgis'


Python version:
3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0]

QGIS version:
3.38.0-Grenoble 'Grenoble', 37aa6188bc3

Python path:
['/usr/share/qgis/python', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python', '/home/alobo/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/home/alobo/miniforge3/lib/python310.zip', '/home/alobo/miniforge3/lib/python3.10', '/home/alobo/miniforge3/lib/python3.10/lib-dynload', '/home/alobo/.virtualenvs/enmapbox/lib/python3.10/site-packages', '/home/alobo/miniforge3/lib/python3.10/site-packages']

As suggested at the end of
qgis/QGIS#37783

running with
sudo qgis

works.

But this is odd and should be properly solved.

@janzandr
Copy link
Contributor

@jakimowb, can you have a look at this please.

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

No branches or pull requests

3 participants