Меню

Выдает ошибку при установке qgis

A few weeks ago I formatted my laptop where among other things QGIS 3.4 was installed.

In the last 48 hours I was busy trying to reinstall it, but until now without succeess.
I have a Thinkpad with Windows 10 PRO. I installed versions 3.4 and 3.2 several times: everything goes well but I do not get the launch icon and in «ProgramFiles» the postinstall.bat icon gives the message:

Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item.

With a Windows technician I have checked all the admin settings in my PC. We also have created an administrative account. Same issue.

Edit:
I have installed using OSGEO4W. It was installed not only QGIS 3.10 but also a lot of software which I would like to get rid of. When I open QGIS I ge this message: ‘ An error has occurred while executing Python code:

*PermissionError: [WinError 5] Access is denied
Traceback (most recent call last):
File «C:/OSGEO4~1/apps/qgis/./python/pluginsprocessingalgssagaSagaAlgorithmProvider.py», line 86, in loadAlgorithms
version = SagaUtils.getInstalledVersion(True)
File «C:/OSGEO4~1/apps/qgis/./python/pluginsprocessingalgssagaSagaUtils.py», line 141, in getInstalledVersion
universal_newlines=True,
File «C:OSGEO4~1appsPython37libsubprocess.py», line 756, in init
restore_signals, start_new_session)
File «C:OSGEO4~1appsPython37libsubprocess.py», line 1155, in _execute_child
startupinfo)
PermissionError: [WinError 5] Access is denied

A few weeks ago I formatted my laptop where among other things QGIS 3.4 was installed.

In the last 48 hours I was busy trying to reinstall it, but until now without succeess.
I have a Thinkpad with Windows 10 PRO. I installed versions 3.4 and 3.2 several times: everything goes well but I do not get the launch icon and in «ProgramFiles» the postinstall.bat icon gives the message:

Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item.

With a Windows technician I have checked all the admin settings in my PC. We also have created an administrative account. Same issue.

Edit:
I have installed using OSGEO4W. It was installed not only QGIS 3.10 but also a lot of software which I would like to get rid of. When I open QGIS I ge this message: ‘ An error has occurred while executing Python code:

*PermissionError: [WinError 5] Access is denied
Traceback (most recent call last):
File «C:/OSGEO4~1/apps/qgis/./python/pluginsprocessingalgssagaSagaAlgorithmProvider.py», line 86, in loadAlgorithms
version = SagaUtils.getInstalledVersion(True)
File «C:/OSGEO4~1/apps/qgis/./python/pluginsprocessingalgssagaSagaUtils.py», line 141, in getInstalledVersion
universal_newlines=True,
File «C:OSGEO4~1appsPython37libsubprocess.py», line 756, in init
restore_signals, start_new_session)
File «C:OSGEO4~1appsPython37libsubprocess.py», line 1155, in _execute_child
startupinfo)
PermissionError: [WinError 5] Access is denied

Здравствуйте, обновил пакет «libpq» и QGIS стал загружаться, спасибо!!!
Еще вопрос, попытался установить matplotlib для Statist, после обновления через OSGeo4w, вылезает ошибка:

Код: Выделить всё

Не удалось загрузить модуль GdalTools при вызове его метода initGui()

Traceback (most recent call last):
  File "C:/OSGeo4W/apps/qgis-dev/./pythonqgisutils.py", line 147, in startPlugin
    plugins[packageName].initGui()
  File "C:/Users/user/.qgis/python/pluginsGdalToolsGdalTools.py", line 81, in initGui
    from tools.GdalTools_utils import Version, GdalConfig
  File "C:/OSGeo4W/apps/qgis-dev/./pythonqgisutils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named tools.GdalTools_utils

Версия Python:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]


Версия:
1.8.0-Trunk Trunk, fb56838

Путь поиска Python: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Users/user/.qgis/python', 'C:/Users/user/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:\OSGeo4W\bin\python25.zip', 'C:\OSGeo4W\apps\Python25\DLLs', 'C:\OSGeo4W\apps\Python25\lib', 'C:\OSGeo4W\apps\Python25\lib\plat-win', 'C:\OSGeo4W\apps\Python25\lib\lib-tk', 'C:\OSGeo4W\apps\qgis-dev\bin', 'C:\OSGeo4W\apps\Python25', 'C:\OSGeo4W\apps\Python25\lib\site-packages', 'C:\OSGeo4W\apps\Python25\lib\site-packages\win32', 'C:\OSGeo4W\apps\Python25\lib\site-packages\win32\lib', 'C:\OSGeo4W\apps\Python25\lib\site-packages\Pythonwin', 'C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-unicode']

Подскажите пожалуйста, может что-то попробовать переустановить ??? Заранее спасибо!!!

Я знаю, что прошло более двух лет, но я опубликую, что это сработало для меня, если кто-то еще найдет этот вопрос.
Похоже, aptitude лучше справляется с зависимостями, поэтому я запустил:

$ sudo aptitude install qgis

Важно отметить, что первый вариант, который он мне дал, был:

     Keep the following packages at their current version:
1)     python3-psycopg2 [Not Installed]                   
2)     python3-qgis [Not Installed]                       
3)     qgis [Not Installed]                               
4)     qgis-plugin-grass [Not Installed]                  



Accept this solution? [Y/n/q/?] n

Я выбрал n, потому что решение оставить эти пакеты неустановленными не решает мою ситуацию, затем было предложено:

The following actions will resolve these dependencies:

     Install the following packages:     
1)     python3-psycopg2 [2.8.4-2 (focal)]

И тогда я нажимаю y, потому что установка этой зависимости — это решение, которое мне нужно.
Я бы посоветовал попробовать с aptitude, но будьте осторожны, потому что он не решит проблему волшебным образом, и вам нужно обратить внимание и выбрать правильный путь.

I installed QGIS 2.18 after i had uninstalled the version 2.16. It installed quite well but it is not starting at all. I went into the program directory and click on the exe file and got the error «The program can’t start because qgis_app.dll is missing from your computer. Try reinstalling the program to fix this problem». I have installed severally and the same error keeps coming on. Any help?

underdark's user avatar

underdark

83k20 gold badges226 silver badges410 bronze badges

asked May 12, 2017 at 8:53

John's user avatar

6

I’ve had the same problem (missing dll files) with QGIS 2.14 LTR and I reinstalled several times. Opening QGIS with the bat file did not work.

My problem has been solved by uninstalling and searching for all «qgis» files (not the project files) on the C-drive and delete them (also temporary files).

After that and a fresh install of QGIS 2.14 LTR, it works!

TurboGraphxBeige's user avatar

answered Jul 11, 2017 at 12:52

Kippenhok's user avatar

Same problem. Go to C:Program FilesQGIS 2.18bin, copy qgis.bat.tmpl, and rename it to qgis.bat, open it. That’s it!

answered Feb 7, 2018 at 17:11

Jonas's user avatar

JonasJonas

1291 bronze badge

I had this problem on an upgraded Win machine just now and the file to redirect to — for 2.14.1x at least is qgis-ltr.bat. All shortcuts / aliases should point to this.

answered Sep 1, 2017 at 15:09

Eoin O'Mahony's user avatar

I got this error with windows when I didn’t install as administrator, reinstalling with elevated permissions solved it for me. To install as admin, right click on the installer exe and click ‘run as administrator’.

answered Dec 15, 2017 at 18:27

ralph346526's user avatar

1

После установки QGIS 2.18.11Las Palmas‘ ждала меня такая вот неприятность:

Как выяснилось — это отсутствие пакета «Microsoft Visual C++ 2015» в системе. Скачать можно на сайте ⇨ Microsoft. Но этого оказалось мало: в системе уже был установлен «Microsoft Visual C++ 2017» и пока я его не снёс 2015-ю не смог поставить. Проблема решилась.

Есть еще одна тонкость установки QGIS. Многие функции геообработки завязаны на GRASS GIS и SAGA GIS входящие в пакет. Если ставить программу по умолчанию, то геообработка (частично) будет работать с ошибками или вообще не работать. Например, в калькуляторе полей отсутствует перечисление полей в разделе «Поля и значения». Еще (уже не помню), были какие-то проблемы с обработкой геометрии. Ошибки возникают из-за пробела в пути по умолчанию «C:Program Files…».

Ставить QGIS нужно в папку «C:OSGeo4W» и будет вам счастье.

В версии 2.18.11 старые проекты могут «расползтись», чтобы вернуть всё назад идем в меню «Проекты / Свойства проекта…», вкладка «Система координат» и выбираем ту систему, в которой был сделан проект изначально.

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Выдает ошибку при установке ad blocker
  • Выдает ошибку при сохранении контакта