我今天刚从 github 下载了 volltron 文件。当我到达执行步骤时:
蟒蛇引导程序.py
我收到证书验证错误。下面是终端片段。有人遇到过这种情况么?
aps@ubuntu:~/volttron/volttron$ python bootstrap.py
Creating virtual Python environment
Downloading virtualenv DOAP record
Traceback (most recent call last):
File "bootstrap.py", line 402, in <module>
main()
File "bootstrap.py", line 385, in main
options.force_version, options.verbose)
File "bootstrap.py", line 206, in bootstrap
builder.create(dest, verbose)
File "bootstrap.py", line 184, in create
self.download(tmpdir)
File "bootstrap.py", line 169, in download
self.get_version()
File "bootstrap.py", line 160, in get_version
with contextlib.closing(self._fetch(doap_url)) as response:
File "bootstrap.py", line 147, in _fetch
response = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>