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

Unable to Install Plugins - No Python Support Detected #32135

Closed
iliebentritt opened this issue Oct 6, 2019 · 28 comments
Closed

Unable to Install Plugins - No Python Support Detected #32135

iliebentritt opened this issue Oct 6, 2019 · 28 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers macOS

Comments

@iliebentritt
Copy link

Hello, I am getting back on QGIS after a few years of not using it at my previous job. In order to continue using QGIS, I downloaded QGIS 3.8 for Mac OS X a few days ago.

However, I am having issues utilizing basic functions of QGIS with the new version. I looked up my plugins window, but was only greeted with eight available plugins in the entire repository. When I opened up my plugins window to find out how I could install new plugins, I was greeted with this message:

Screen Shot 2019-10-06 at 6 39 08 PM

Adding to that, I looked on my Plugins menu from my options at the top of the screen and it does not give me a Python console. This is confusing because I have Python 3.7 installed on my computer.

How do I fix this problem?

@nyalldawson
Copy link
Collaborator

Which QGIS mac installer did you use? It's highly recommended that you use the "all-in-one" signed installers, which don't require any messing around with system python libraries.

@nyalldawson nyalldawson added the Feedback Waiting on the submitter for answers label Oct 6, 2019
@iliebentritt
Copy link
Author

If I remember correctly, it was the all in one version, for QGIS 3.8. I never had QGIS 3.4, so I don't know if that caused a problem.

Should I try reinstalling with the all-in-one installer?

@nyalldawson
Copy link
Collaborator

@iliebentritt
I'd suggest that's a good starting move - remove all previous versions and reinstall the latest from the qgis site.

@iliebentritt
Copy link
Author

I tried reinstalling qgis and it didn't work. Any suggestions for next steps?

@gioman gioman added Attribute Table Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Oct 7, 2019
@gioman
Copy link
Contributor

gioman commented Oct 7, 2019

I tried reinstalling qgis and it didn't work

probably here the problem is with some previous (or lack of ) python installation.

@QuantumNovice
Copy link

Which version of python do you have? If any?

@DelazJ
Copy link
Contributor

DelazJ commented Oct 7, 2019

If I remember correctly, it was the all in one version, for QGIS 3.8. I never had QGIS 3.4, so I don't know if that caused a problem.

Which version of macos do you have? All in one installer is for >10.12 (see #31906)

@QuantumNovice
Copy link

I have mac OS 10.15 RN. I'll try to install it there to see if it cause any errors.

@felipem775
Copy link

same problem here. using linux mint 19.2

@BlissVictor
Copy link

Same problem here mac OS 10.12.6 (16G1710)

@Limsande
Copy link

Limsande commented Jan 13, 2020

Same issue here on Fedora 31.

With QGIS 3.10.0 I got

ImportError: /lib64/libQt5Core.so.5: version 'Qt_5_PRIVATE_API' not found

on QGIS startup, and no Python support. After upgrading QGIS to 3.10.1 (tried both from Fedora package source, and the Copr repo) the error is gone but still no Python support.

I have Python 3.7.6 installed.

about_qgis

@Limsande
Copy link

Same issue here on Fedora 31.

With QGIS 3.10.0 I got

ImportError: /lib64/libQt5Core.so.5: version 'Qt_5_PRIVATE_API' not found

on QGIS startup, and no Python support. After upgrading QGIS to 3.10.1 (tried both from Fedora package source, and the Copr repo) the error is gone but still no Python support.

I have Python 3.7.5 installed.

about_qgis

Now the ImportError appears again. Somehow python3-qgis went missing, so I reinstalled it. The full error message is

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


Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib64/python3.7/site-packages/qgis/__init__.py", line 70, in 
    from qgis.PyQt import QtCore
  File "/usr/lib64/python3.7/site-packages/qgis/PyQt/QtCore.py", line 24, in 
    from PyQt5.QtCore import *
ImportError: /lib64/libQt5Core.so.5: version `Qt_5_PRIVATE_API' not found (required by /usr/local/lib64/python3.7/site-packages/PyQt5/QtCore.so)


Python version:
3.7.6 (default, Dec 19 2019, 22:52:49) 
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)]

QGIS version:
3.10.1-A Coruña 'A Coruña', exported

pip lists both PyQt4-sip and PyQt5-sip as installed.

@almereyda
Copy link

Same here on Fedora 30. Installing the QGIS package does not by itself install python3-qgis. Eventually this is rather a packaging issue with the distribution upstream, than an issue in QGIS?

@gioman
Copy link
Contributor

gioman commented Apr 16, 2020

Eventually this is rather a packaging issue with the distribution upstream, than an issue in QGIS?

yes, if this is the problem then this ticket should be closed.

@almereyda
Copy link

As of https://fedoraproject.org/wiki/GIS, I am getting in touch with #fedora-gis on Freenode and am seeking to report there. Once we have the upstream ticket, it will be linked here and this can be closed.

@almereyda
Copy link

almereyda commented Apr 16, 2020

Okay, so it seems in Fedora this is, for now, intentionally not a hard dependency. The installation instructions for QGIS clearly state to install that package alongside.

I cannot make informed comments on how this is intended to work with macOS or Linux Mint.

@ajesteves
Copy link

Hi. i also have this same problem in CentOS. After compiling qgis, when i run it, there is no python support, no plugins, no processing facilities.
Any help to overcome this issue, it will be welcome.

@yassineMrabet
Copy link

yassineMrabet commented Jun 7, 2020

Same problem issue in Ubuntu 20.04 👍

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


Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/qgis/__init__.py", line 70, in 
    from qgis.PyQt import QtCore
  File "/usr/lib/python3/dist-packages/qgis/PyQt/QtCore.py", line 24, in 
    from PyQt5.QtCore import *
ImportError: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /home/nesrine/.local/lib/python3.8/site-packages/PyQt5/QtCore.abi3.so)


Python version:
3.8.2 (default, Apr 27 2020, 15:53:34) 
[GCC 9.3.0]

QGIS version:
3.12.3-București 'București', 8234261527

Python path:
['/usr/share/qgis/python', '/home/user/.local/share/QGIS/QGIS3/profiles/default/python', '/home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/user/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/local/lib/python3.8/dist-packages/Mentalist-1.0-py3.8.egg', '/usr/lib/python3/dist-packages']

I don't know from where this error can come from ? As shown below, Python 3 imports correctly PyQt package :

~$ python3
Python 3.8.2 (default, Apr 27 2020, 15:53:34) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from qgis.PyQt import QtCore
>>> from PyQt5.QtCore import *
>>> 

I tried to set the Qt environment to Qt_5.14 as the default installed is version in 5.12, following these instructions. However it doesn't work.
Please is there any config files to fix this problem ?

@gioman gioman added the macOS label Jun 12, 2020
@gioman
Copy link
Contributor

gioman commented Jun 12, 2020

Which QGIS mac installer did you use? It's highly recommended that you use the "all-in-one" signed installers, which don't require any messing around with system python libraries.

@iliebentritt correct, no issues whatsoever under macOS Catalina with the all in one installers.

@hob814
Copy link

hob814 commented Nov 23, 2020

i'm having the same problem on fedora 32

Hello, I am getting back on QGIS after a few years of not using it at my previous job. In order to continue using QGIS, I downloaded QGIS 3.8 for Mac OS X a few days ago.

However, I am having issues utilizing basic functions of QGIS with the new version. I looked up my plugins window, but was only greeted with eight available plugins in the entire repository. When I opened up my plugins window to find out how I could install new plugins, I was greeted with this message:

Screen Shot 2019-10-06 at 6 39 08 PM

Adding to that, I looked on my Plugins menu from my options at the top of the screen and it does not give me a Python console. This is confusing because I have Python 3.7 installed on my computer.

How do I fix this problem?

@benjaminforest
Copy link

benjaminforest commented Mar 4, 2021

Hi,
Same problem here. Anyone has any success in solving it ? I can import it from python fine, so I suppose it's a matter of PATH but I do not have more.
Running up to date Fedora 33

[edit] : found it : in my case it was a conflict between a pip based installation of pyQt5 and the package based installation. PATH priorities made the pip based installation, which was outdated, to be called instead of the rpm based installation.

@muety
Copy link

muety commented Sep 20, 2021

I'm having the same problem as @Limsande and don't know to fix it. Any ideas?

@jorgeortizamos
Copy link

I had the same problem with Qgis, I tried many versions, I installed and uninstalled them, there was no way, it didn't allow me to install plugins, finally what I did was take the DLL files from another computer with the same windows and compile and paste in the system 32 and Syswow64 folders (in my case), all the DLLs. And it finally worked for me.

@jorgeortizamos
Copy link

I had the same problem with Qgis, I tried many versions, I installed and uninstalled them, there was no way, it didn't allow me to install plugins, finally what I did was take the DLL files from another computer with the same windows and compile and paste in the system 32 and Syswow64 folders (in my case), all the DLLs. And it finally worked for me.

Which QGIS mac installer did you use? It's highly recommended that you use the "all-in-one" signed installers, which don't require any messing around with system python libraries.

I had the same problem with Qgis, I tried many versions, I installed and uninstalled them, there was no way, it didn't allow me to install plugins, finally what I did was take the DLL files from another computer with the same windows and compile and paste in the system 32 and Syswow64 folders (in my case), all the DLLs. And it finally worked for me.

@nmonnerat
Copy link

I have the same problem with Linux Mint Uma
Captura de tela em 2022-01-19 16-50-41

@jesuspolo
Copy link

Same problem in Windows. In version 3.16 I have many plugins bit as I've been installing newer versions, the plugins disappear.

@syanenko
Copy link

syanenko commented Mar 26, 2023

Hi,
Has anyone found a solution for this issue ? I have it on:

image

image

Thanks in advance.

@syanenko
Copy link

Running:
"C:\Program Files\QGIS 3.28.0\bin\setup.bat"
solves the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers macOS
Projects
None yet
Development

No branches or pull requests