Error while trying to install GDAL using pip and easy_install with Python2.7 on Ubuntu 12.10

孤者浪人 提交于 2019-12-10 18:06:03

问题


My Error is

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

I get this while trying to install GDAL using pip and easy_install with Python2.7 on Ubuntu 12.10.


回答1:


try this:

sudo apt-get install python-gdal




回答2:


Try this:

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

Source



来源:https://stackoverflow.com/questions/15004590/error-while-trying-to-install-gdal-using-pip-and-easy-install-with-python2-7-on

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!