ImportError: No module named mapnik on CentOS 7

المشرف العام

Administrator
طاقم الإدارة
The problem:

I've installed mapnik 3.0.1 successfully by running the typical source code install:

./configuremake && make installldconfig -vHowever....

When I import mapnik into python I get the following:

Python 2.7.5 (default, Jun 24 2015, 00:41:19) [GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import mapnikTraceback (most recent call last): File "", line 1, in ImportError: No module named mapnik>>> I've tried everything recommended on Mapnik's Troubleshooting page by linking library paths, editing ld.so.conf, etc...

I've been trying to figure this out all day, which isn't very productive. I've tried building other versions of mapnik, and the same thing happens. How do I get this imported?



أكثر...
 
أعلى