当前位置:网站首页>Sslerror: ('the read operation timed out'), solution

Sslerror: ('the read operation timed out'), solution

2022-06-10 08:26:00 wohu1104

1. Problem phenomenon

$ sudo rosdep init

ERROR: Rosdep experienced an error: ('The read operation timed out',)
Please go to the rosdep page [1] and file a bug report with the stack trace below.
[1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.21.0

Traceback (most recent call last):
  ....
  File "/usr/lib/python2.7/ssl.py", line 754, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 641, in read
    v = self._sslobj.read(len)
SSLError: ('The read operation timed out',)

Most of the reasons are not installed pip , perhaps pip Wrong version .

2. resolvent

install pip

sudo apt install python-pip

Or upgrade pip

sudo pip install --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple pip
sudo pip3 install --upgrade -i ttps://pypi.tuna.tsinghua.edu.cn/simple pip
原网站

版权声明
本文为[wohu1104]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206100820352971.html