ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Python3-lark-parser not available on Ubuntu 16.04 (32-bit)

asked 2020-12-29 12:02:52 -0500

ajtoth gravatar image

I know foxy isn't officially supported on Ubuntu 16.04; it's the last distro that supports 32-bit and I'm trying to do ROS2 development.

Following the tutorial on building from source, it fails after

sudo rosdep init
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro foxy -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers"

It fails at installing python3-lark-parser.

sudo apt update 
sudo apt install python3-lark-parser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-lark-parser

Cool. I'll install via pip. Installed pip, then uneventfully installed pip install:

$ pip install lark-parser --upgrade

Reattempted following the ros2 install from source tutorial, continues to fail when rosdep install reaches python3-lark-parser

Any ideas? Looks like this has been a problem, historically: https://github.com/ros2/ros2/issues/725 (this one is for debian, there's another post that's applicable to Raspbian Buster)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-12-29 12:27:18 -0500

gvdhoorn gravatar image

Related: #q325767.

Cool. I'll install via pip. Installed pip, then uneventfully installed pip install:

$ pip install lark-parser --upgrade

Reattempted following the ros2 install from source tutorial, continues to fail when rosdep install reaches python3-lark-parser

the problem is that pip installs are invisible to rosdep. Or at least, they're invisible because of how the rosdep rules have been created for that package.

You'll have to ask rosdep to ignore the python3-lark-parser key when invoking

rosdep install --from-paths src --ignore-src --rosdistro foxy -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers"

To do that, add python3-lark-parser to the --skip-keys option.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-12-29 12:02:52 -0500

Seen: 545 times

Last updated: Dec 29 '20