On Wed, Mar 16, 2011 at 10:20 PM, Learn Qgis <learn.q...@gmail.com> wrote:
> Hi, > > I am new to QGIS. I am trying to build the source code using CMAKE to > Visual Studio 2008 environment with python binding. > > I am using Python 2.7, SIP 4.12.1 and PyQt 4.8.3 > > I am getting below error.... > > *Couldn't load PyQGIS. > Python support will be disabled. > * > > * > Traceback (most recent call last): > File "", line 1, in > ImportError: dynamic module does not define init function (initcore) > > > > > * > > *Python version: > 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] > > QGIS version: > 1.6.0-Copiapo 'Copiapo', exported > > Python path: > ['D:/dev/cpp/build/src/app/**Debug/./python', 'C:/Documents and > Settings/Administrator/.qgis/**python', 'C:/Documents and > Settings/Administrator/.qgis/**python/plugins', 'D:/dev/cpp/build/src/app/ > **Debug/./python/plugins', 'E:\\Python27\\Lib\\site-**packages', > 'E:\\Python27\\Lib', 'D:\\dev\\cpp\\build\\src\\**app\\Debug', > 'C:\\WINDOWS\\system32\\**python27.zip', 'E:\\Python27\\DLLs', > 'E:\\Python27\\lib\\plat-win', 'E:\\Python27\\lib\\lib-tk', 'E:\\Python27'] > * > > > > Please help me in resolving this error.... > > > thanks in advance... > Usually this means that Python could not find the PyQt module or could not load it for some reason. Check your environment variables---specifically PATH and PYTHONPATH. -Charlie
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer