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