在Ubuntu 12.10上用Python2.7通过pip和easy_install安装GDAL时出错

3 投票
2 回答
3515 浏览
提问于 2025-04-17 16:38

我的错误是:

__main__.gdal_config_error: [Errno 2] No such file or directory

我在Ubuntu 12.10上用Python2.7通过pip和easy_install安装GDAL时遇到了这个问题。

2 个回答

1

试试这个:

sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install gdal

来源

4

试试这个:

在终端里输入:sudo apt-get install python-gdal

撰写回答