ImportError: DLL load failed: The specified procedure could not be found.
bkavlak opened this issue · comments
Batuhan Kavlak commented
Hi,
I tried many solutions suggested in python, but I still can't fix this:
library(RQGIS3)
> set_env("C:/Program Files/QGIS 3.10")
$root
[1] "C:/Program Files/QGIS 3.10"
$qgis_prefix_path
[1] "C:/Program Files/QGIS 3.10/apps/qgis"
$python_plugins
[1] "C:/Program Files/QGIS 3.10/apps/qgis/python/plugins"
$platform
[1] "Windows"
> open_app()
Error in py_run_string_impl(code, local, convert) :
ImportError: DLL load failed: The specified procedure could not be found.
Detailed traceback:
File "<string>", line 1, in <module>
File "C:\Program Files\QGIS 3.10\apps\qgis\python\qgis\core\__init__.py", line 25, in <module>
from qgis._core import *
same error when:
> set_env()
Trying to find QGIS in C:/
$root
[1] "C:/OSGeo4W64"
$qgis_prefix_path
[1] "C:/OSGeo4W64/apps/qgis"
$python_plugins
[1] "C:/OSGeo4W64/apps/qgis/python/plugins"
$platform
[1] "Windows"
my system version:
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 6.2
year 2019
month 12
day 12
svn rev 77560
language R
version.string R version 3.6.2 (2019-12-12)
nickname Dark and Stormy Night
I had the same problem in QGIS 3.8, as well.
Batuhan Kavlak commented
I restarted my PC. Now, this error show up:
https://github.com/r-spatial/RQGIS3/issues/20