conda安装cartopy遇到的问题及解决方法


原文地址:https://blog.csdn.net/qq_44078172/article/details/106688820

 

# conda安装cartopy遇到的问题及解决方法

## pip安装库超时问题
我在用pip 安装cartopy会遇到超时的问题,而后用清华镜像源也没有解决问题。一般同学遇到超时问题用镜像源可以解决问题。

## conda install 库报错
而后用anaconda的终端运行`conda install cartopy`前面就遇到The environment is inconsistent,如下:

The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
\
- conda-forge/win-64::gdal==3.1.0=py37hd44be9e_3
- conda-forge/win-64::geotiff==1.6.0=hcadc5cd_0
- conda-forge/win-64::hdf4==4.2.13=hf8e6fe8_1003
- conda-forge/win-64::kealib==1.4.13=h3b59ab9_1
- conda-forge/win-64::libgdal==3.1.0=hbc6966c_3
- conda-forge/win-64::libnetcdf==4.7.4=nompi_h256d12c_104
- conda-forge/win-64::libspatialite==4.3.0a=h51df0ed_1038
- conda-forge/win-64::poppler==0.89.0=h0cd1227_0
- conda-forge/win-64::postgresql==12.2=he14cc48_1
failed

查了网上很多帖子说用`conda install anaconda` 就可以解决问题,不行。也有说`conda upgrade --all`也可以,我也不行。遇到类似问题的小伙伴可以试一试,上面两种办法,说不定就可以了。


## 无法定位程序输入点……于动态链接库

在尝试各种方法都无效之后又遇到新的问题。尝试用`conda update -n base conda`结果弹出窗口显示‘无法定位程序输入点OPENSSL_sk_new_reserve于动态链接库……’

### 上一个问题的解决办法
[https://blog.csdn.net/weixin_42329133/article/details/102640763](https://blog.csdn.net/weixin_42329133/article/details/102640763)
此博客里有写

## 其他未解决的各种问题
在解决上一个问题之后我重新运行了一遍`conda install anaconda` 但依然存在问题,如图:

 


在另一个终端窗口run:`conda update --all`也遇到问题


 

 


或者我直接尝试再安装cartopy时,处于一直Solving environment的状态:

 

 


打算尝试用Anaconda Navigator安装的方法,若有突破,及时更新!


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM