Open Timple opened 3 years ago
Not sure if related but your ros index url seems to be wrong. It should be:
https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Same error :slightly_smiling_face:
See a same error here. Might be related to python3 on 18.04. We are running python3 on 20.04 without any issues.
Yes, python2 works. This can be closed.
Curious though why python3 doesn't work on 20.04 in a dockerfile?
FROM ubuntu:20.04
RUN apt-get update -qq && apt-get install -qqy python3-pip
RUN python3 -m pip install ros-get
RUN ros-get ws-create https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml /opt/ros/noetic/
That is due to the catkin_tools
version that is shipped with ubuntu, see https://github.com/Rayman/ros-get/issues/95
And another thing, ubuntu:20.04
does not have the /opt/ros/noetic
install space.
This seems to work:
FROM ros:noetic-ros-base
RUN apt-get update -qq && apt-get install -qqy python3-pip git
RUN python3 -m pip install ros-get git+https://github.com/catkin/catkin_tools.git
RUN ros-get ws-create https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml /opt/ros/noetic/
That is due to the catkin_tools version that is shipped with ubuntu, see #95
Should have remembered that I guess. As I posted the workaround there :smile:
I'll put in a PR updating the README.md
I tried to init a workspace using the standard rosdistro:
ros-get installed by using:
Pip version: pip 20.1 (python 3.6)