[Qgis-developer] Import error in the qgis.core, qgis.gui module, Help needed

sonai1978 to_banerjee at rediffmail.com
Fri Sep 5 09:54:34 EDT 2008


Dear Aaron,

I did the same way u suggested i still get the following error

*******************
>>> import sys
>>> sys.path
['F:\\Python25\\Lib\\idlelib', 'C:\\WINNT\\system32\\python25.zip',
'F:\\Python25\\DLLs', 'F:\\Python25\\lib', 'F:\\Python25\\lib\\plat-win',
'F:\\Python25\\lib\\lib-tk', 'F:\\Python25',
'F:\\Python25\\lib\\site-packages']
>>> import qgis.core

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    import qgis.core
ImportError: DLL load failed: The specified module could not be found.


************************
Second portion

*************************

>>> sys.path
['F:\\Python25\\Lib\\idlelib', 'C:\\WINNT\\system32\\python25.zip',
'F:\\Python25\\DLLs', 'F:\\Python25\\lib', 'F:\\Python25\\lib\\plat-win',
'F:\\Python25\\lib\\lib-tk', 'F:\\Python25',
'F:\\Python25\\lib\\site-packages']
>>> import gqis.core

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    import gqis.core
ImportError: No module named gqis.core
>>> from qgis.core import *

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    from qgis.core import *
ImportError: DLL load failed: The specified module could not be found.

***********************
The first portion of the error when i copied the qgis dir inside site
package.

The second portion of error is when i added the pythonpath variable.

I have installed python in my F: drive 
as F:\python25

and Quantum GIS 0.11.0.2 in F:\Quantum GIS.

it will be very helpful if you can find a solution to my problem.
Bye and take care

Bishwarup





Aaron Racicot-2 wrote:
> 
> Just add the QGIS install dir to your system path to get rid of the DLL
> errors.
> 
> A
> 
> -----Original Message-----
> From: qgis-developer-bounces at lists.osgeo.org
> [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of sonai1978
> Sent: Thursday, September 04, 2008 7:33 AM
> To: qgis-developer at lists.osgeo.org
> Subject: RE: [Qgis-developer] Import error in the qgis.core, qgis.gui
> module, Help needed
> 
> 
> Dear Aaron,
> 
> Thnak you very much for your reply. I have already tried that. Copying
> qgis
> directory inside the site packages. But then i get the dll error. I think
> i
> am missing something in between which is causing the error.
> 
> I dont know what to do next.
> Please help me out.
> Thank u in advance.
> Bye and take care
> Bishwarup
> 
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 

-- 
View this message in context: http://www.nabble.com/Import-error-in-the-qgis.core%2C-qgis.gui-module%2C-Help-needed-tp19303959p19331753.html
Sent from the qgis-developer mailing list archive at Nabble.com.



More information about the Qgis-developer mailing list