Qgis поддержка python выключена параметры модулей недоступны

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

No Python support detected thus no settings available + No processing algorithms under Vector and Raster menu. #25487

No Python support detected thus no settings available + No processing algorithms under Vector and Raster menu. #25487

Bug Either a bug report, or a bug fix. Let’s hope for the latter! Build/Install Related to compiling or installing QGIS

Читайте также:  Timing sorts in java

Comments

Author Name: Ben Hur Pintor (@benhur07b)
Original Redmine Issue: 17590
Affected QGIS version: master
Redmine category:build/install

Hi all! I built QGIS master (d7485a4) using the instructions from (a) https://github.com/qgis/QGIS/blob/master/INSTALL supplemented by (b) https://www.lutraconsulting.co.uk/blog/2017/08/06/qgis3d-build/ because I wanted to try the new 3D features. My machine runs on Xubuntu 16.04. The build works fine. However, when I run QGIS, I notice that:

1.) Plugins are unavailable. The Settings tab of «Manage and Install Plugins» says «No Python support detected thus no settings available.» Is this normal? I’ve only tried building QGIS recently so I don’t know if it is.

2.) There seems to be no processing algorithms under the Vector and Raster menus aside from Raster calculator and Align rasters (+ the core plugins that I activate).

Did I do something wrong with my build or is this normal?

Thank you in advance! Cheers!

Compiled against Qt 5.9.1
Compiled against GDAL/OGR 2.2.2
Compiled against GEOS 3.5.1-CAPI-1.9.1
PostgreSQL Client Version 9.5.10
QWT Version 6.1.3
QScintilla2 Version 2.10.1

Running against Qt 5.9.1
Running against GDAL/OGR 2.2.2
Running against GEOS 3.5.1-CAPI-1.9.1 r4246
SpatiaLite Version 4.3.0a
PROJ.4 Version 492

The text was updated successfully, but these errors were encountered:

Источник

Форумы GIS-Lab.info

QGIS, мелькает командная строка, приложение не открывается

QGIS, мелькает командная строка, приложение не открывается

Сообщение Uriel2 » 21 ноя 2012, 14:31

Доброго времени суток, уважаемые гуру!
Подскажите пожалуйста следующее: в Win 7 при установке Qgis встает криво. А именно при запуске мелькает командная строка, а приложение не открывается. Процесс в диспетчере задач не появляется. Опытным путем нашел, что если скопировать содержимое папки C:\OSGeo4W\apps\qgis-dev\bin в папку C:\OSGeo4W\bin и папки C:\OSGeo4W\apps\qgis-dev\plugins и C:\OSGeo4W\apps\qgis-dev\python переместить в папку C:\OSGeo4W, то приложение грузится, но выдает следующее

Не удалось загрузить модуль SIP.
Поддержка Python будет выключена.

Traceback (most recent call last): File "", line 1, in ImportError: No module named sip Версия Python: 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] Версия QGIS: 1.9.0-Master 'Master', 0893db7 Путь поиска Python: ['C:/OSGeo4W/./python', 'C:/Users/\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb0\xd0\xbd\xd0\xb4\xd1\x80/.qgis//python', 'C:/Users/\xd0\x90\xd0\xbb\xd0\xb5\xd0\xba\xd1\x81\xd0\xb0\xd0\xbd\xd0\xb4\xd1\x80/.qgis//python/plugins', 'C:/OSGeo4W/./python/plugins', 'C:\\Program Files (x86)\\ArcGIS\\bin', 'C:\\OSGeo4W\\bin\\python27.zip', 'C:\\Python27\\Lib', 'C:\\Python27\\DLLs', 'C:\\Python27\\Lib\\lib-tk', 'C:\\OSGeo4W\\bin', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages']

консоль OSGeo4WShell почему-то при запуске из самого каталога с программой не работает, а по ярлыку на этот же файл из списка программ открывается. Путь для PYTHONPATH прописываю — консоль принимает без ошибок, но приложение Питона упрямо не находит. Соответственно модулей нет, и даже возможности их подгрузить тоже.
Раньше на этой машине стояла версия qgis 1.8 ‘master’, но стал вылетать питон, поэтому программу удалил и реестр почистил. На ХР все переустанавливалось нормально, это у 7-ки какой-то секрет?
P.S.: простите за пространность, постарался подробнее все описать

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

Unable to Install Plugins — No Python Support Detected #32135

Bug Either a bug report, or a bug fix. Let’s hope for the latter! Feedback Waiting on the submitter for answers macOS

Comments

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?

The text was updated successfully, but these errors were encountered:

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?

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

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

gioman added Attribute Table Bug Either a bug report, or a bug fix. Let’s hope for the latter! labels 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.

Which version of python do you have? If any?

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)

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

same problem here. using linux mint 19.2

Same problem here mac OS 10.12.6 (16G1710)

Same issue here on Fedora 31.

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

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 

about_qgis

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.

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.

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?

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.

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.

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.

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.

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 ?

Источник

Оцените статью