Ask Your Question
2

micro_ros_setup No definition of [python3-vcstool] for OS [osx]

asked 2020-12-07 00:48:47 -0500

mjwhite gravatar image

I'm tying to install a micro-ROS development on my Macbook (Mohave) and have run into issues after the following steps:

# Create a workspace and download the micro-ROS tools
mkdir microros_ws
cd microros_ws
git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup

# Update dependencies using rosdep
sudo apt update && rosdep update
rosdep install --from-path src --ignore-src -y

I end up with the error:

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
micro_ros_setup: No definition of [python3-vcstool] for OS [osx]

My python version is Python 3.9.0. ROS2 version is Foxy

Can anyone help with this issue?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2020-12-07 01:13:28 -0500

gvdhoorn gravatar image

updated 2020-12-07 01:14:00 -0500

Looking at ros/rosdistro/rosdep/python.yaml it appears there is indeed no key for osx:

python3-vcstool:
  alpine: [vcstool]
  debian:
    pip:
      packages: [vcstool]
  fedora: [python3-vcstool]
  gentoo:
    pip:
      packages: [vcstool]
  macports:
    pip:
      packages: [vcstool]
  ubuntu: [python3-vcstool]

That would be the cause of the error.

If python3-vcstool is a valid package name on OSX (for whichever package manager is used), you could contribute an update to that rule. That would resolve the error.

edit flag offensive delete link more

Comments

So I've overcome the problem by updating that rosdep rule for OSX. I also had to update the rules for about six other packages for OSX. One of those packages was "wget" which I would have thought would have been added already since ROS2 is supported on OSX. I'm having all sorts of other problems installing micro-ROS on my Macbook, which leads me to believe that OSX may not be a good option for ROS2 development. Would it be advised to get a Linux computer?

mjwhite gravatar image mjwhite  ( 2020-12-08 18:24:44 -0500 )edit

So I've overcome the problem by updating that rosdep rule for OSX. I also had to update the rules for about six other packages for OSX. One of those packages was "wget" which I would have thought would have been added already since ROS2 is supported on OSX

have you submitted those changes as pull requests? I don't see them over at github.com/ros/rosdistro?

gvdhoorn gravatar image gvdhoorn  ( 2020-12-09 03:54:03 -0500 )edit
1

I just added it. I hadn't finished installing micro-ROS and I wanted to make sure I had all of the required packages. There are 11 packages in the pull request.

mjwhite gravatar image mjwhite  ( 2020-12-09 13:02:53 -0500 )edit

@mjwhite can you link that pull request when it's open? I just looked and didn't see it, but maybe I missed it.

William gravatar image William  ( 2020-12-18 13:53:09 -0500 )edit

I removed the request since I couldn't get nosetests installed on the Mac either. I've setup a Linux machine for now and everything is working fine there. So I'll try the Mac at a later date. Thanks for your help.

mjwhite gravatar image mjwhite  ( 2020-12-21 01:53:41 -0500 )edit
0

answered 2021-08-06 22:11:21 -0500

Elk_liu gravatar image

Hi mjwhite, I got the same problem when I install MicroRos on my macbook_pro. Do you have the issue fixed? Thank you.

edit flag offensive delete link more

Comments

Hi Elk_liu, No sorry, I didn't get this working. I ended up getting a linux desktop since I've had only limited success with getting my Macbook setup as a ROS development environment.

mjwhite gravatar image mjwhite  ( 2021-08-08 19:58:39 -0500 )edit

Your Answer

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

Add Answer

Question Tools

3 followers

Stats

Asked: 2020-12-07 00:48:47 -0500

Seen: 114 times

Last updated: Dec 07 '20