Install Mapnik 2.2.0 on Windows 7 Using Python 2.7

I'm trying to install mapnik to your computer for hours, but what I always get when I import mapnik, ImportError: DLL load failed: The specified procedure could not be found.

I am using Windows 7. Currently installed software is Geoserver from the Opengeo package.

Here is my way

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Python27;C:\mapnik-v2.2.0\lib

My path to python:

C:\Python27;C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;C:\Program Files\ArcGIS\bin;C:\\mapnik-v2.2.0\python\2.7\site-packages\;C:\mapnik-v2.2.0\bin\;
+4
source share
3 answers

Follow the instructions

First make sure you have installed 32-bit python 27.

You can do this by typing the following into a python shell

>>> import platform
>>> platform.architecture()
('32bit', 'WindowsPE')

'64bit', python 32bit ( "Python 2.7.5 Windows" Installer ").

  • mapnik ( SDK)
  • C:\mapnik-v2.2.0
  • C:\mapnik-v2.2.0\lib; C:\mapnik-v2.2.0\bin; PATH
  • C:\mapnik-v2.2.0\python\2.7\site-packages; PYTHONPATH

import mapnik

+1

WinServewr 2008 R2. , , Microsoft Visual ++ (x86) 10.0.40219, . postgreSQL 9.3 x86, , Postgre x64, .

+1

, , 32- Python. :

ImportError: DLL load failed: The specified procedure could not be found.

DLL python. , - DLL- , DLL - , . , .

, , , 2.2.0 OSM, Linux.

https://github.com/mapnik/mapnik/wiki/WindowsInstallation OSM - , , .

, Windows mapnik , .

0
source

All Articles