Missing packages after installing rosdep based on python3-rosdep2 in Noetic
After the installation of Noetic on ubuntu 20.04, I started to redo the tutorials. When I wanted to see the dependencies of beginner_tutorials package, I couldn't use the #rosdep command!
pourya@pourya:~/catkin_ws$ rospack depends beginner_tutorials
[rospack] Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
pourya@pourya:~/catkin_ws$ rosdep init
Command 'rosdep' not found, but can be installed with:
sudo apt install python3-rosdep2
pourya@pourya:~/catkin_ws$ sudo apt install python3-rosdep2
pourya@pourya:~/catkin_ws$ 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.18.0
Traceback (most recent call last):
File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 144, in rosdep_main
exit_code = _rosdep_main(args)
File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 426, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 435, in _no_args_handler
return command_handlers[command](options)
File '/usr/lib/python3/dist-packages/rosdep2/main.py', line 579, in command_init
data = download_default_sources_list()
File '/usr/lib/python3/dist-packages/rosdep2/sources_list.py', line 331, in download_default_sources_list
f = urlopen(url, timeout=DOWNLOAD_TIMEOUT)
File '/usr/lib/python3.8/urllib/request.py', line 222, in urlopen
return opener.open(url, data, timeout)
File '/usr/lib/python3.8/urllib/request.py', line 525, in open
response = self._open(req, data)
File '/usr/lib/python3.8/urllib/request.py', line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File '/usr/lib/python3.8/urllib/request.py', line 502, in _call_chain
result = func(*args)
File '/usr/lib/python3.8/urllib/request.py', line 1369, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File '/usr/lib/python3.8/urllib/request.py', line 1330, in do_open
r = h.getresponse()
File '/usr/lib/python3.8/http/client.py', line 1332, in getresponse
response.begin()
File '/usr/lib/python3.8/http/client.py', line 303, in begin
version, status, reason = self._read_status()
File '/usr/lib/python3.8/http/client.py', line 264, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), 'iso-8859-1')
File '/usr/lib/python3.8/socket.py', line 669, in readinto
return self._sock.recv_into(b)
File '/usr/lib/python3.8/ssl.py', line 1241, in recv_into
return self.read(nbytes, buffer)
File '/usr/lib/python3.8/ssl.py', line 1099, in read
return self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
pourya@pourya:~/catkin_ws$ rosdep init
ERROR: default sources list file already exists:
/etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize
Regarding the message in the terminal, I installed the rosdep. Now, it seems a lots of packages are missed such as rospy and ...
pourya@pourya:~/catkin_ws/src$ catkin_create_pkg beginner_tutorials rospython roscpp
Created file beginner_tutorials/package.xml
Created file beginner_tutorials/CMakeLists.txt
Created folder beginner_tutorials/include/beginner_tutorials
Created folder beginner_tutorials/src
Successfully created files in /home/pourya/catkin_ws ...
I've removed the
#
from the question title.This is not twitter.