In standalone python script from qgis._core import *
produces ImportError: DLL load failed: The specified module could not be found
#23957
Labels
Author Name: Raphael Dumas (@radumas)
Original Redmine Issue: 16042
Affected QGIS version: 2.14.9
Redmine category:python_plugins
In Windows 7 x64 SP1 using Python 2.7 x64, I installed QGIS 2.14.9 from the standalone x64 installer. I was trying to set up a python virtual environment to develop standalone app (http://gis.stackexchange.com/a/223325/36886). I added the following paths to a @.pth@ file in the environment's site-packages:
But when I type @from qgis.core import *@, python tries to import @qgis._core@ and fails with
Having a look at the @qgis/_core.pyd@ file with DependencyWalker produces the attached output image
The text was updated successfully, but these errors were encountered: