Hi All,<br><br>Is there anybody who can help me out with Python integration in QGIS.... ? Please help me... I need to learn to integrate Python in QGIS.<br><br>thanks in Advance,<br>QGIS Learner<br><br><br><div class="gmail_quote">
On Thu, Mar 17, 2011 at 10:34 PM, Charlie Sharpsteen <span dir="ltr"><<a href="mailto:chuck@sharpsteen.net">chuck@sharpsteen.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Wed, Mar 16, 2011 at 10:20 PM, Learn Qgis <span dir="ltr"><<a href="mailto:learn.qgis@gmail.com" target="_blank">learn.qgis@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_quote">
<div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br><br>I am new to QGIS. I am trying to build the source code using CMAKE to Visual Studio 2008 environment with python binding. <br><br>I am using Python 2.7, SIP 4.12.1 and PyQt 4.8.3<br><br>I am getting below error....<br>
<br><b style="color: rgb(255, 0, 0);">Couldn't load PyQGIS.<br>Python support will be disabled.<br></b>
<pre style="margin: 12px 0px; text-indent: 0px; color: rgb(255, 0, 0);"><b><span><br>Traceback (most recent call last):<br> File "", line 1, in <br>ImportError: dynamic module does not define init function (initcore)<br>
<br><br></span></b></pre>
<p style="margin: 0px; text-indent: 0px; color: rgb(255, 0, 0);"><b>Python version:<br>2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]<br><br>QGIS version:<br>1.6.0-Copiapo 'Copiapo', exported<br>
<br>Python path:<br>['D:/dev/cpp/build/src/app/</b><b>Debug/./python', 'C:/Documents and Settings/Administrator/.qgis/</b><b>python', 'C:/Documents and Settings/Administrator/.qgis/</b><b>python/plugins', 'D:/dev/cpp/build/src/app/</b><b>Debug/./python/plugins', 'E:\\Python27\\Lib\\site-</b><b>packages', 'E:\\Python27\\Lib', 'D:\\dev\\cpp\\build\\src\\</b><b>app\\Debug', 'C:\\WINDOWS\\system32\\</b><b>python27.zip', 'E:\\Python27\\DLLs', 'E:\\Python27\\lib\\plat-win', 'E:\\Python27\\lib\\lib-tk', 'E:\\Python27']</b></p>
<p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">Please help me in resolving this error....</p><p style="margin: 0px; text-indent: 0px;">
<br></p><p style="margin: 0px; text-indent: 0px;">thanks in advance...</p></blockquote><div><br></div></div></div><div>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.</div>
<div><br></div><div>-Charlie</div></div><br>
</blockquote></div><br>