爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 40337|回复: 20

[求助] cartopy No module named crs

[复制链接]
发表于 2017-8-14 18:58:13 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
Why?明明装了cartopy啊!为什么会有这样的错误提示 import cartopy.crs as ccrs
ImportError: No module named crs
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-14 20:27:22 | 显示全部楼层
SOS    HELP
密码修改失败请联系微信:mofangbao
发表于 2017-8-15 08:30:52 | 显示全部楼层
楼主怎么安装的,我用conda安装的没有问题
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-15 08:31:39 | 显示全部楼层
尽头的尽头 发表于 2017-8-15 08:30
楼主怎么安装的,我用conda安装的没有问题

我也用conda装的啊,我就纳闷了
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-15 08:34:56 | 显示全部楼层
尽头的尽头 发表于 2017-8-15 08:30
楼主怎么安装的,我用conda安装的没有问题

Fetching package metadata ...
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.ed ... ux-64/repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
ProxyError(MaxRetryError("HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/cloud/msys2/linux-64/repodata.json (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f763f522910>: Failed to establish a new connection: [Errno 111] Connection refused',)))",),)

昨天还可以,今天咋就不可以了
密码修改失败请联系微信:mofangbao
发表于 2017-8-15 08:38:19 | 显示全部楼层
藕茭白空心菜 发表于 2017-8-15 08:34
Fetching package metadata ...
CondaHTTPError: HTTP 000 CONNECTION FAILED for url
Elapsed: -

貌似网络的问题啊,重新安装一下试试
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-15 08:47:34 | 显示全部楼层
尽头的尽头 发表于 2017-8-15 08:38
貌似网络的问题啊,重新安装一下试试

昨天早些时候也这样来着,我就重新装了python&anaconda,晚些时候conda install 就能装东西了,今天一开机又不能conda install 了,为什么连不上那个镜像网站了呢
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-15 08:49:28 | 显示全部楼层
尽头的尽头 发表于 2017-8-15 08:38
貌似网络的问题啊,重新安装一下试试

我试了下pip install是好使的
$ pip install cartopy
Requirement already satisfied: cartopy in ./anaconda2/lib/python2.7/site-packages
Requirement already satisfied: numpy>=1.6 in ./anaconda2/lib/python2.7/site-packages (from cartopy)
Requirement already satisfied: shapely>=1.5.6 in ./anaconda2/lib/python2.7/site-packages (from cartopy)
Requirement already satisfied: pyshp>=1.1.4 in ./anaconda2/lib/python2.7/site-packages (from cartopy)
Requirement already satisfied: six>=1.3.0 in ./anaconda2/lib/python2.7/site-packages (from cartopy)
Requirement already satisfied: setuptools>=0.7.2 in ./anaconda2/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg (from cartopy)
密码修改失败请联系微信:mofangbao
发表于 2017-8-15 08:54:39 | 显示全部楼层
藕茭白空心菜 发表于 2017-8-15 08:49
我试了下pip install是好使的
$ pip install cartopy
Requirement already satisfied: cartopy in ./a ...

有时候可能镜像网站维护啥的,现在能用了?
密码修改失败请联系微信:mofangbao
 楼主| 发表于 2017-8-15 08:56:17 | 显示全部楼层
尽头的尽头 发表于 2017-8-15 08:54
有时候可能镜像网站维护啥的,现在能用了?

不能用,虽然装了cartopy但运行的时候还是  
import cartopy.crs as ccrs
ImportError: No module named crs
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表