Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python ImportError:没有名为mapnik的模块(Ubuntu 10.10)_Python_Import_Openstreetmap - Fatal编程技术网

Python ImportError:没有名为mapnik的模块(Ubuntu 10.10)

Python ImportError:没有名为mapnik的模块(Ubuntu 10.10),python,import,openstreetmap,Python,Import,Openstreetmap,在/bin/mapnik中生成_image.py以显示image.png时出错 dewirobiatul@dewi:~/bin/mapnik$ ./generate_image.py Traceback (most recent call last): File "./generate_image.py", line 6, in <module> import mapnik ImportError: No module named mapnik dewirobiatul

/bin/mapnik
中生成_image.py以显示image.png时出错

dewirobiatul@dewi:~/bin/mapnik$ ./generate_image.py  Traceback (most
recent call last):   File "./generate_image.py", line 6, in <module>
    import mapnik ImportError: No module named mapnik dewirobiatul@dewi:~/bin/mapnik$
但是

请提供帮助和解决方案:)
谢谢

我这里没有Ubuntu 10.10,但是你可以按照


我这里没有Ubuntu 10.10,但是你可以按照

sudo python scons/scons.py configure INPUT_PLUGINS=all OPTIMIZATION=3 SYSTEM_FONTS=/usr/share/fonts/truetype/
python: can't open file 'scons/scons.py': [Errno 2] No such file or directory