我无法使用适用于 python 3.6 的最新 anaconda 在 Ubuntu 上安装 gdal 我该如何解决?我明白了。错误:
UnsatisfiableError: The following specifications were found to be in conflict:
- gdal -> numpy 1.8* -> python 2.6* -> openssl 1.0.1*
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.
请您参考如下方法:
看来您尝试使用 python 2.6 安装 gdal,而您的 anaconda 是 python 3.6。
要安装具有特定 python 版本的 gdal(或任何包),请创建一个 conda 环境:
$ conda create -n <myenvname> python=<version>
然后激活环境:
$ source activate <myenvname>
然后,安装gdal:
$ conda install gdal
