Python基础-01

字符串

1.Python实现字符串的乘法

print(3*'love')#打印3次‘love’字符串

2.Python中字符串的表示,可以使用单引号,双引号,三个单引号,三个双引号

基本数据的运算

Python中两个整数的除法,结果是确切的结果。与一般的高级语言不同。如果实现与一般编程语言的效果(两个整数相除结果依旧是整数),则需要A//B,需要双斜杠。

# 安装基础编译工具 sudo apt install -y build-essential cmake python3-colcon-common-extensions # 安装 ROS2 核心依赖 sudo apt install -y ros-humble-ros-base \ python3-rosdep \ python3-rosinstall-generator Reading package lists... Done Building dependency tree... Done Reading state information... Done build-essential is already the newest version (12.10ubuntu1). build-essential set to manually installed. The following package was automatically installed and is no longer required: libllvm19 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: cmake-data docutils-common libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjsoncpp25 librhash0 python3-catkin-pkg-modules python3-colcon-argcomplete python3-colcon-bash python3-colcon-cd python3-colcon-cmake python3-colcon-core python3-colcon-defaults python3-colcon-devtools python3-colcon-installed-package-information python3-colcon-library-path python3-colcon-metadata python3-colcon-notification python3-colcon-output python3-colcon-override-check python3-colcon-package-information python3-colcon-package-selection python3-colcon-parallel-executor python3-colcon-pkg-config python3-colcon-powershell python3-colcon-python-setup-py python3-colcon-recursive-crawl python3-colcon-ros python3-colcon-test-result python3-colcon-zsh python3-coverage python3-distlib python3-docutils python3-empy python3-iniconfig python3-notify2 python3-pluggy python3-pytest python3-pytest-cov python3-roman Suggested packages: cmake-doc cmake-format elpa-cmake-mode ninja-build python3-pytest-repeat python3-pytest-rerunfailures python-coverage-doc docutils-doc fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french texlive-latex-base texlive-latex-recommended The following NEW packages will be installed: cmake cmake-data docutils-common libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjsoncpp25 librhash0 python3-catkin-pkg-modules python3-colcon-argcomplete python3-colcon-bash python3-colcon-cd python3-colcon-cmake python3-colcon-common-extensions python3-colcon-core python3-colcon-defaults python3-colcon-devtools python3-colcon-installed-package-information python3-colcon-library-path python3-colcon-metadata python3-colcon-notification python3-colcon-output python3-colcon-override-check python3-colcon-package-information python3-colcon-package-selection python3-colcon-parallel-executor python3-colcon-pkg-config python3-colcon-powershell python3-colcon-python-setup-py python3-colcon-recursive-crawl python3-colcon-ros python3-colcon-test-result python3-colcon-zsh python3-coverage python3-distlib python3-docutils python3-empy python3-iniconfig python3-notify2 python3-pluggy python3-pytest python3-pytest-cov python3-roman 0 upgraded, 45 newly installed, 0 to remove and 1 not upgraded. Need to get 14.6 MB of archives. After this operation, 54.5 MB of additional disk space will be used. Get:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-catkin-pkg-modules all 1.1.0-2 [43.3 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2ubuntu2 [11.5 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 libjsoncpp25 arm64 1.9.5-6build1 [78.2 kB] Get:4 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-core all 0.20.1+upstream-1 [71.0 kB] Get:5 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-argcomplete all 0.3.3+upstream-1 [5,500 B] Get:6 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-bash all 0.5.0-100 [5,620 B] Get:7 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-package-information all 0.4.0-100 [8,456 B] Get:8 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-cd all 0.2.1-100 [4,676 B] Get:9 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-library-path all 0.2.1-100 [3,544 B] Get:10 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-test-result all 0.3.8-100 [7,172 B] Get:11 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-cmake all 0.2.29-100 [15.5 kB] Get:12 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-defaults all 0.2.9+upstream-1 [5,776 B] Get:13 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-devtools all 0.3.0-100 [4,856 B] Get:14 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-metadata all 0.2.5-100 [9,188 B] Get:15 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-notification all 0.3.0-100 [10.7 kB] Get:16 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-output all 0.2.13-100 [6,756 B] Get:17 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 librhash0 arm64 1.4.3-3build1 [126 kB] Get:18 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-package-selection all 0.2.10-100 [7,540 B] Get:19 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-parallel-executor all 0.3.0-100 [5,532 B] Get:20 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-powershell all 0.4.0-100 [6,960 B] Get:21 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-python-setup-py all 0.2.9-100 [6,596 B] Get:22 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-recursive-crawl all 0.2.3-100 [3,896 B] Get:23 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-pkg-config all 0.1.0-100 [3,204 B] Get:24 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-ros all 0.5.0-100 [12.6 kB] Get:25 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-zsh all 0.5.0-100 [5,560 B] Get:26 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 cmake-data all 3.28.3-1build7 [2,155 kB] Get:27 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-common-extensions all 0.3.0-100 [2,972 B] Get:28 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-installed-package-information all 0.2.1-100 [7,680 B] Get:29 http://packages.ros.org/ros2/ubuntu jammy/main arm64 python3-colcon-override-check all 0.0.1-100 [5,212 B] Get:30 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 cmake arm64 3.28.3-1build7 [10.3 MB] Get:31 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 docutils-common all 0.20.1+dfsg-3 [132 kB] Get:32 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 libjs-jquery-metadata all 12-4 [6,582 B] Get:33 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-3 [193 kB] Get:34 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] Get:35 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 python3-roman all 3.3-3 [9,632 B] Get:36 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 python3-docutils all 0.20.1+dfsg-3 [393 kB] Get:37 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-distlib all 0.3.8-1 [318 kB] Get:38 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-empy all 3.3.4-2 [65.7 kB] Get:39 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-iniconfig all 1.1.1-2 [6,024 B] Get:40 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-pluggy all 1.4.0-1 [20.4 kB] Get:41 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-pytest all 7.4.4-1 [305 kB] Get:42 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-notify2 all 0.3-5 [11.2 kB] Get:43 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-coverage arm64 7.4.4+dfsg1-0ubuntu2 [148 kB] Get:44 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3,244 B] Get:45 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 python3-pytest-cov all 4.1.0-1 [21.5 kB] Fetched 14.6 MB in 11s (1,311 kB/s) Extracting templates from packages: 100% Selecting previously unselected package libjs-jquery-hotkeys. (Reading database ... 138807 files and directories currently installed.) Preparing to unpack .../00-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2ubuntu2_all.deb ... Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... Selecting previously unselected package libjsoncpp25:arm64. Preparing to unpack .../01-libjsoncpp25_1.9.5-6build1_arm64.deb ... Unpacking libjsoncpp25:arm64 (1.9.5-6build1) ... Selecting previously unselected package librhash0:arm64. Preparing to unpack .../02-librhash0_1.4.3-3build1_arm64.deb ... Unpacking librhash0:arm64 (1.4.3-3build1) ... Selecting previously unselected package cmake-data. Preparing to unpack .../03-cmake-data_3.28.3-1build7_all.deb ... Unpacking cmake-data (3.28.3-1build7) ... Selecting previously unselected package cmake. Preparing to unpack .../04-cmake_3.28.3-1build7_arm64.deb ... Unpacking cmake (3.28.3-1build7) ... Selecting previously unselected package docutils-common. Preparing to unpack .../05-docutils-common_0.20.1+dfsg-3_all.deb ... Unpacking docutils-common (0.20.1+dfsg-3) ... Selecting previously unselected package libjs-jquery-metadata. Preparing to unpack .../06-libjs-jquery-metadata_12-4_all.deb ... Unpacking libjs-jquery-metadata (12-4) ... Selecting previously unselected package libjs-jquery-tablesorter. Preparing to unpack .../07-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-3_all.deb ... Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Selecting previously unselected package libjs-jquery-throttle-debounce. Preparing to unpack .../08-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Selecting previously unselected package python3-roman. Preparing to unpack .../09-python3-roman_3.3-3_all.deb ... Unpacking python3-roman (3.3-3) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../10-python3-docutils_0.20.1+dfsg-3_all.deb ... Unpacking python3-docutils (0.20.1+dfsg-3) ... Selecting previously unselected package python3-catkin-pkg-modules. Preparing to unpack .../11-python3-catkin-pkg-modules_1.1.0-2_all.deb ... Unpacking python3-catkin-pkg-modules (1.1.0-2) ... Selecting previously unselected package python3-distlib. Preparing to unpack .../12-python3-distlib_0.3.8-1_all.deb ... Unpacking python3-distlib (0.3.8-1) ... Selecting previously unselected package python3-empy. Preparing to unpack .../13-python3-empy_3.3.4-2_all.deb ... Unpacking python3-empy (3.3.4-2) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../14-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../15-python3-pluggy_1.4.0-1_all.deb ... Unpacking python3-pluggy (1.4.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../16-python3-pytest_7.4.4-1_all.deb ... Unpacking python3-pytest (7.4.4-1) ... Selecting previously unselected package python3-colcon-core. Preparing to unpack .../17-python3-colcon-core_0.20.1+upstream-1_all.deb ... Unpacking python3-colcon-core (0.20.1+upstream-1) ... Selecting previously unselected package python3-colcon-argcomplete. Preparing to unpack .../18-python3-colcon-argcomplete_0.3.3+upstream-1_all.deb ... Unpacking python3-colcon-argcomplete (0.3.3+upstream-1) ... Selecting previously unselected package python3-colcon-bash. Preparing to unpack .../19-python3-colcon-bash_0.5.0-100_all.deb ... Unpacking python3-colcon-bash (0.5.0-100) ... Selecting previously unselected package python3-colcon-package-information. Preparing to unpack .../20-python3-colcon-package-information_0.4.0-100_all.deb ... Unpacking python3-colcon-package-information (0.4.0-100) ... Selecting previously unselected package python3-colcon-cd. Preparing to unpack .../21-python3-colcon-cd_0.2.1-100_all.deb ... Unpacking python3-colcon-cd (0.2.1-100) ... Selecting previously unselected package python3-colcon-library-path. Preparing to unpack .../22-python3-colcon-library-path_0.2.1-100_all.deb ... Unpacking python3-colcon-library-path (0.2.1-100) ... Selecting previously unselected package python3-colcon-test-result. Preparing to unpack .../23-python3-colcon-test-result_0.3.8-100_all.deb ... Unpacking python3-colcon-test-result (0.3.8-100) ... Selecting previously unselected package python3-colcon-cmake. Preparing to unpack .../24-python3-colcon-cmake_0.2.29-100_all.deb ... Unpacking python3-colcon-cmake (0.2.29-100) ... Selecting previously unselected package python3-colcon-defaults. Preparing to unpack .../25-python3-colcon-defaults_0.2.9+upstream-1_all.deb ... Unpacking python3-colcon-defaults (0.2.9+upstream-1) ... Selecting previously unselected package python3-colcon-devtools. Preparing to unpack .../26-python3-colcon-devtools_0.3.0-100_all.deb ... Unpacking python3-colcon-devtools (0.3.0-100) ... Selecting previously unselected package python3-colcon-metadata. Preparing to unpack .../27-python3-colcon-metadata_0.2.5-100_all.deb ... Unpacking python3-colcon-metadata (0.2.5-100) ... Selecting previously unselected package python3-notify2. Preparing to unpack .../28-python3-notify2_0.3-5_all.deb ... Unpacking python3-notify2 (0.3-5) ... Selecting previously unselected package python3-colcon-notification. Preparing to unpack .../29-python3-colcon-notification_0.3.0-100_all.deb ... Unpacking python3-colcon-notification (0.3.0-100) ... Selecting previously unselected package python3-colcon-output. Preparing to unpack .../30-python3-colcon-output_0.2.13-100_all.deb ... Unpacking python3-colcon-output (0.2.13-100) ... Selecting previously unselected package python3-colcon-package-selection. Preparing to unpack .../31-python3-colcon-package-selection_0.2.10-100_all.deb ... Unpacking python3-colcon-package-selection (0.2.10-100) ... Selecting previously unselected package python3-colcon-parallel-executor. Preparing to unpack .../32-python3-colcon-parallel-executor_0.3.0-100_all.deb ... Unpacking python3-colcon-parallel-executor (0.3.0-100) ... Selecting previously unselected package python3-colcon-powershell. Preparing to unpack .../33-python3-colcon-powershell_0.4.0-100_all.deb ... Unpacking python3-colcon-powershell (0.4.0-100) ... Selecting previously unselected package python3-colcon-python-setup-py. Preparing to unpack .../34-python3-colcon-python-setup-py_0.2.9-100_all.deb ... Unpacking python3-colcon-python-setup-py (0.2.9-100) ... Selecting previously unselected package python3-colcon-recursive-crawl. Preparing to unpack .../35-python3-colcon-recursive-crawl_0.2.3-100_all.deb ... Unpacking python3-colcon-recursive-crawl (0.2.3-100) ... Selecting previously unselected package python3-colcon-pkg-config. Preparing to unpack .../36-python3-colcon-pkg-config_0.1.0-100_all.deb ... Unpacking python3-colcon-pkg-config (0.1.0-100) ... Selecting previously unselected package python3-colcon-ros. Preparing to unpack .../37-python3-colcon-ros_0.5.0-100_all.deb ... Unpacking python3-colcon-ros (0.5.0-100) ... Selecting previously unselected package python3-colcon-zsh. Preparing to unpack .../38-python3-colcon-zsh_0.5.0-100_all.deb ... Unpacking python3-colcon-zsh (0.5.0-100) ... Selecting previously unselected package python3-colcon-common-extensions. Preparing to unpack .../39-python3-colcon-common-extensions_0.3.0-100_all.deb ... Unpacking python3-colcon-common-extensions (0.3.0-100) ... Selecting previously unselected package python3-colcon-installed-package-information. Preparing to unpack .../40-python3-colcon-installed-package-information_0.2.1-100_all.deb ... Unpacking python3-colcon-installed-package-information (0.2.1-100) ... Selecting previously unselected package python3-colcon-override-check. Preparing to unpack .../41-python3-colcon-override-check_0.0.1-100_all.deb ... Unpacking python3-colcon-override-check (0.0.1-100) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../42-python3-coverage_7.4.4+dfsg1-0ubuntu2_arm64.deb ... Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... Selecting previously unselected package libjs-jquery-isonscreen. Preparing to unpack .../43-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... Selecting previously unselected package python3-pytest-cov. Preparing to unpack .../44-python3-pytest-cov_4.1.0-1_all.deb ... Unpacking python3-pytest-cov (4.1.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... Setting up python3-distlib (0.3.8-1) ... Setting up python3-empy (3.3.4-2) ... Setting up python3-roman (3.3-3) ... Setting up libjs-jquery-metadata (12-4) ... Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... Setting up libjsoncpp25:arm64 (1.9.5-6build1) ... Setting up python3-pluggy (1.4.0-1) ... Setting up python3-notify2 (0.3-5) ... Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-3) ... Setting up librhash0:arm64 (1.4.3-3build1) ... Setting up docutils-common (0.20.1+dfsg-3) ... Setting up cmake-data (3.28.3-1build7) ... Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2ubuntu2) ... Setting up python3-pytest (7.4.4-1) ... Setting up python3-pytest-cov (4.1.0-1) ... Setting up python3-colcon-core (0.20.1+upstream-1) ... Setting up python3-colcon-notification (0.3.0-100) ... Setting up python3-colcon-pkg-config (0.1.0-100) ... Setting up python3-colcon-zsh (0.5.0-100) ... Setting up python3-colcon-library-path (0.2.1-100) ... Setting up cmake (3.28.3-1build7) ... Setting up python3-colcon-installed-package-information (0.2.1-100) ... Setting up python3-colcon-metadata (0.2.5-100) ... Setting up python3-colcon-python-setup-py (0.2.9-100) ... Setting up python3-colcon-package-information (0.4.0-100) ... Setting up python3-colcon-output (0.2.13-100) ... Setting up python3-colcon-override-check (0.0.1-100) ... Setting up python3-colcon-package-selection (0.2.10-100) ... Setting up python3-colcon-defaults (0.2.9+upstream-1) ... Setting up python3-colcon-devtools (0.3.0-100) ... Setting up python3-colcon-test-result (0.3.8-100) ... Setting up python3-colcon-powershell (0.4.0-100) ... Setting up python3-colcon-bash (0.5.0-100) ... Setting up python3-colcon-parallel-executor (0.3.0-100) ... Setting up python3-colcon-argcomplete (0.3.3+upstream-1) ... Setting up python3-colcon-recursive-crawl (0.2.3-100) ... Setting up python3-colcon-cmake (0.2.29-100) ... Setting up python3-colcon-cd (0.2.1-100) ... Processing triggers for libc-bin (2.39-0ubuntu8.6) ... Processing triggers for man-db (2.12.0-4build2) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.20.1+dfsg-3) ... Setting up python3-catkin-pkg-modules (1.1.0-2) ... Setting up python3-colcon-ros (0.5.0-100) ... Setting up python3-colcon-common-extensions (0.3.0-100) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ros-humble-action-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable Depends: ros-humble-unique-identifier-msgs but it is not going to be installed ros-humble-actionlib-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-builtin-interfaces : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-composition-interfaces : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-diagnostic-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-geometry-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-lifecycle-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-nav-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-pluginlib : Depends: libtinyxml2-9 (>= 8.0.0) but it is not installable ros-humble-rcl-interfaces : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-rcl-logging-spdlog : Depends: libspdlog1-fmt8 but it is not installable ros-humble-rclpy : Depends: libpython3.10 (>= 3.10.0) but it is not installable Depends: ros-humble-unique-identifier-msgs but it is not going to be installed ros-humble-rmw-implementation : Depends: ros-humble-rmw-fastrtps-cpp but it is not installable or ros-humble-rmw-cyclonedds-cpp but it is not installable or ros-humble-rmw-connextdds but it is not installable ros-humble-rosbag2-compression : Depends: libtinyxml2-9 (>= 8.0.0) but it is not installable ros-humble-rosbag2-cpp : Depends: libtinyxml2-9 (>= 8.0.0) but it is not installable ros-humble-rosbag2-py : Depends: libpython3.10 (>= 3.10.0) but it is not installable Depends: libtinyxml2-9 (>= 8.0.0) but it is not installable Depends: libyaml-cpp0.7 (>= 0.7.0) but it is not installable ros-humble-rosbag2-storage : Depends: libtinyxml2-9 (>= 8.0.0) but it is not installable Depends: libyaml-cpp0.7 (>= 0.7.0) but it is not installable ros-humble-rosbag2-storage-default-plugins : Depends: libyaml-cpp0.7 (>= 0.7.0) but it is not installable ros-humble-rosbag2-transport : Depends: libyaml-cpp0.7 (>= 0.7.0) but it is not installable Depends: ros-humble-rosbag2-interfaces but it is not going to be installed ros-humble-rosgraph-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-sensor-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-shape-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-statistics-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-std-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-std-srvs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-stereo-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-tf2-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-tf2-py : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-trajectory-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable ros-humble-urdf : Depends: libtinyxml2-9 (>= 8.0.0) but it is not installable ros-humble-visualization-msgs : Depends: libpython3.10 (>= 3.10.0) but it is not installable E: Unable to correct problems, you have held broken packages.
12-16
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值