Ask Your Question
0

rosdep update: SETUPTOOLS WILL STOP WORKING

asked 2020-03-22 15:17:41 -0500

ishaniis gravatar image

updated 2020-03-23 08:38:16 -0500

gvdhoorn gravatar image

I am getting this, when I used rosdep update

Anything to do in this case. When I did on my different system, I didn't received this ? Is this an error ?

You are running Setuptools on Python 2, which is no longer
    supported and
    >>> SETUPTOOLS WILL STOP WORKING <<<
    in a subsequent release (no sooner than 2020-04-20).
    Please ensure you are installing
    Setuptools using pip 9.x or later or pin to `setuptools<45`
    in your environment.
    If you have done those things and are still encountering
    this message, please comment in
    https://github.com/pypa/setuptools/issues/1458
    about the steps that led to this unsupported combination.
    ************************************************************



 sys.version_info < (3,) and warnings.warn(pre + "*" * 60 + msg + "*" * 60)
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml


   Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml

Skip end-of-life distro "ardent"

    Skip end-of-life distro "bouncy"

    Skip end-of-life distro "crystal"
    Add distro "dashing"
    Add distro "eloquent"
    Add distro "foxy"
    Skip end-of-life distro "groovy"
    Skip end-of-life distro "hydro"
    Skip end-of-life distro "indigo"
    Skip end-of-life distro "jade"
    Add distro "kinetic"
    Skip end-of-life distro "lunar"
    Add distro "melodic"
    Add distro "noetic"

updated cache in /home/ishan/.ros/rosdep/sources.cache
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-03-23 04:41:58 -0500

gvdhoorn gravatar image

This is expected, as Python 2 is EOL, and so a number of libraries have taken it upon themselves to warn their users about that.

In this case it's setuptools. But you can run into the same thing with others.

When I did on my different system, I didn't received this ?

it could be that a version of certain dependencies which start printing these warnings hasn't been installed on the system on which you did not see the error.

In any case: ROS Noetic will no longer support/require Python 2 -- it'll exclusively depend on Python 3.

You will not see those warnings any more then.


Edit: alternatively, you could try installing python3-rosdep (which will require python3-catkin-pkg, python3-rosdep-modules and python3-rospkg). This is the Python3-version of rosdep. However, it may be a bit involved to get that installed on systems with ROS Kinetic already installed.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-03-22 15:17:41 -0500

Seen: 336 times

Last updated: Mar 23