Tôi đang làm việc trên Python26, pyqt4 designer và QGIS. mã tập tin của tôi (py tập tin) chứa này:Lỗi: Không có mô-đun có tên qgis
import sys
from PyQt4 import QtGui, QtCore
from qgis.core import *
from qgis.gui import *
nhưng khi tôi cố gắng để chạy nó nó mang lại cho lỗi nói:
Traceback (most recent call last):
File "C:\rt_sql_layer_working\DlgQueryBuilder.py", line 29, in <module>
from qgis import core,gui
ImportError: No module named qgis
tôi đã thiết lập PATH trong biến môi trường như
C:\Program Files\Quantum GIS Wroclaw\bin
C:\Program Files\Quantum GIS Wroclaw\apps\qgis\bin
Bạn đã đặt 'PATH' hoặc' PYTHONPATH'? – jcollado
i đặt PATH ... không pythonpath..wat để đặt cho pythonpath? – poonam