3

我正在尝试在 Mac 中安装 ros2 env。我为它创建了一个 conda env。

我已经安装conda install -c anaconda sphinxconda install -c conda-forge sphinx-autodoc-typehints.

运行时出现错误ros2 run demo_nodes_cpp talker

Failed to load entry point 'test': No module named 'rclpy._rclpy'
Failed to load entry point 'launch': No module named 'rclpy._rclpy'
Failed to load entry point 'info': No module named 'rclpy._rclpy'
.
.
.
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'pub': No module named 'rclpy._rclpy'
dyld: Library not loaded: /usr/local/opt/poco/lib/libPocoFoundation.63.dylib
  Referenced from: /Users/linfeng/workspace/ros2_dashing/ros2-osx/lib/librosidl_typesupport_c.dylib
  Reason: image not found

任何想法?先感谢您

4

1 回答 1

3

我通过链接较新的安装poco版本让它工作:

ln -s /usr/local/opt/poco/lib/libPocoFoundation.71.dylib /usr/local/opt/poco/lib/libPocoFoundation.63.dylib
于 2020-02-24T15:34:08.180 回答