- 积分
- 821
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-10-25
- 最后登录
- 1970-1-1
|
发表于 2020-6-3 20:43:40
|
显示全部楼层
我这个问题无从查起,具体内容如下import cinrad后悔说
C:\ProgramData\Anaconda3\lib\site-packages\pooch\core.py:260: UserWarning: Downloading data file 'sfstns.tbl' from remote data store 'https://github.com/Unidata/MetPy/raw/v0.12.0/staticdata/' to 'C:\Users\GYD\AppData\Local\metpy\cache\v0.12.0'.
action, fname, self.base_url, str(self.path)
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 485, in wrap_socket
cnx.do_handshake()
File "C:\ProgramData\Anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1934, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "C:\ProgramData\Anaconda3\lib\site-packages\OpenSSL\SSL.py", line 1663, in _raise_ssl_error
raise SysCallError(errno, errorcode.get(errno))
SysCallError: (10054, 'WSAECONNRESET')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
chunked=chunked,
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 994, in _validate_conn
conn.connect()
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connection.py", line 360, in connect
ssl_context=context,
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\ssl_.py", line 370, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 491, in wrap_socket
raise ssl.SSLError("bad handshake: %r" % e)
SSLError: ("bad handshake: SysCallError(10054, 'WSAECONNRESET')",)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\ProgramData\Anaconda3\lib\site-packages\urllib3\util\retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /Unidata/MetPy/v0.12.0/staticdata/sfstns.tbl (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<ipython-input-1-e072aa8e7a04>", line 1, in <module>
import cinrad
File "C:\ProgramData\Anaconda3\lib\site-packages\cinrad-1.2.2-py3.7.egg\cinrad\__init__.py", line 5, in <module>
from . import visualize
File "C:\ProgramData\Anaconda3\lib\site-packages\cinrad-1.2.2-py3.7.egg\cinrad\visualize\__init__.py", line 6, in <module>
from cinrad.visualize.ppi import *
File "C:\ProgramData\Anaconda3\lib\site-packages\cinrad-1.2.2-py3.7.egg\cinrad\visualize\ppi.py", line 15, in <module>
from cinrad.io.pup import _StormTrackInfo
File "C:\ProgramData\Anaconda3\lib\site-packages\cinrad-1.2.2-py3.7.egg\cinrad\io\pup.py", line 6, in <module>
from metpy.io.nexrad import Level3File
File "C:\ProgramData\Anaconda3\lib\site-packages\metpy\io\__init__.py", line 12, in <module>
from .metar import * # noqa: F403
File "C:\ProgramData\Anaconda3\lib\site-packages\metpy\io\metar.py", line 15, in <module>
from .station_data import station_info
File "C:\ProgramData\Anaconda3\lib\site-packages\metpy\io\station_data.py", line 140, in <module>
station_info = StationLookup()
File "C:\ProgramData\Anaconda3\lib\site-packages\metpy\io\station_data.py", line 128, in __init__
self._sources = [dict(_read_station_table()), dict(_read_master_text_file()),
File "C:\ProgramData\Anaconda3\lib\site-packages\metpy\io\station_data.py", line 35, in _read_station_table
input_file = get_test_data('sfstns.tbl', as_file_obj=False)
File "C:\ProgramData\Anaconda3\lib\site-packages\metpy\cbook.py", line 33, in get_test_data
path = POOCH.fetch(fname)
File "C:\ProgramData\Anaconda3\lib\site-packages\pooch\core.py", line 263, in fetch
self._download_file(fname)
File "C:\ProgramData\Anaconda3\lib\site-packages\pooch\core.py", line 306, in _download_file
response = requests.get(source, stream=True)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 665, in send
history = [resp for resp in gen] if allow_redirects else []
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 665, in <listcomp>
history = [resp for resp in gen] if allow_redirects else []
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 245, in resolve_redirects
**adapter_kwargs
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\requests\adapters.py", line 514, in send
raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /Unidata/MetPy/v0.12.0/staticdata/sfstns.tbl (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')"))) |
|