Opened 14 years ago

Closed 11 years ago

#231 closed defect (fixed)

problems with the python-mapscript package

Reported by: lutra Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc: pka

Description

Importing it into a python script/console fails

Ex: import mapscript

>>> import mapscript
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python25\lib\site-packages\mapscript.py", line 4, in <module>
  File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named _mapscript

Change History (4)

comment:1 by pka, 14 years ago

Cc: pka added
Component: DocumentationPackage

Title should be "problems with the python-mapscript package", I suppose.

comment:2 by lutra, 14 years ago

Summary: problems with the php-mapscript packageproblems with the python-mapscript package

comment:3 by pka, 13 years ago

Seems to be an old problem: #26

comment:4 by jef, 11 years ago

Resolution: fixed
Status: newclosed

meanwhile fixed.

Note: See TracTickets for help on using tickets.