python3 src/ament/ament_tools/scripts/ament.py build --symlink-install --isolated
Traceback (most recent call last):
File "src/ament/ament_tools/scripts/ament.py", line 139, in <module>
from ament_tools.package_types.ament import entry_point_data as ament_entry_point_data # noqa
File "/home/shadylady/rosdev/ament_ws/src/ament/ament_tools/ament_tools/package_types/ament.py", line 15, in <module>
from catkin_pkg.package import package_exists_at
ImportError: No module named 'catkin_pkg'
ros2@ros2-VirtualBox:~/ros2_ws$ python3.5 src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install
Traceback (most recent call last):
File "src/ament/ament_tools/scripts/ament.py", line 139, in <module>
from ament_tools.package_types.ament import entry_point_data as ament_entry_point_data # noqa
File "/home/ros2/ros2_ws/src/ament/ament_tools/ament_tools/package_types/ament.py", line 15, in <module>
from catkin_pkg.package import package_exists_at
ImportError: No module named 'catkin_pkg'
ros2@ros2-VirtualBox:~/ros2_ws$ sudo apt-get install python3-catkin-pkg
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
将会同时安装下列软件:
python3-catkin-pkg-modules python3-dateutil python3-docutils python3-pygments python3-roman
建议安装:
texlive-latex-recommended texlive-latex-base texlive-lang-french fonts-linuxlibertine | ttf-linux-libertine ttf-bitstream-vera
下列软件包将被【卸载】:
python-catkin-pkg
下列【新】软件包将被安装:
python3-catkin-pkg python3-catkin-pkg-modules python3-dateutil python3-docutils python3-pygments python3-roman
升级了 0 个软件包,新安装了 6 个软件包,要卸载 1 个软件包,有 12 个软件包未被升级。
.....
ros2@ros2-VirtualBox:~/ros2_ws$ python3.5 src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install
ROS 官网参考
维基
网页
- 只读网页
- 信息
- 附件
-
更多操作:源码 打印视图 输出Docbook格式 删除缓存 ------------------------ 拼写检查 相似网页 本站地图 ------------------------ 改名 复制网页 删除 ------------------------ 我的网页 订阅 ------------------------ 删除垃圾广告 恢复成此版本 网页打包 同步网页 ------------------------ CreatePdfDocument 加载 RawFile 保存 SlideShow
用户
Standalone Python library for the catkin package system. Contains support for finding and introspecting catkin packages in the file system.
目录
Installing catkin_pkg
sudo apt-get install python-catkin-pkg
The Debian package only contains the command line scripts and depends on another package named python-catkin-pkg-modules which contains the Python modules required for the scripts. This allows to install python-catkin-pkg-modules and python3-catkin-pkg-modules at the same time.
On non ubuntu platforms
Use pip:
sudo pip install -U catkin_pkg
-
In case you experience error with the command above, you might want to run it without -U option. See this thread.
External link
-
Source code http://github.com/ros-infrastructure/catkin_pkg
-
Documentation http://docs.ros.org/independent/api/catkin_pkg/catkin_