[osgeo4w-dev] [osgeo4w] #231: problems with the php-mapscript
package
OSGeo4W
trac_osgeo4w at osgeo.org
Thu May 26 04:21:13 EDT 2011
#231: problems with the php-mapscript package
-------------------+--------------------------------------------------------
Reporter: lutra | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: major | Component: Documentation
Version: | Keywords:
-------------------+--------------------------------------------------------
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
}}}
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/231>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.
More information about the osgeo4w-dev
mailing list