小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装ROS失败
-
root@DeepLearning:~# sudo apt install ros-noetic-desktop-full -y
Reading package lists... Done
Building dependency tree
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-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed
Depends: ros-noetic-perception but it is not going to be installed
Depends: ros-noetic-simulators but it is not going to be installed
Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@DeepLearning:~# sudo apt install ros-noetic-desktop-full -y
Reading package lists... Done
Building dependency tree
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-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed
Depends: ros-noetic-perception but it is not going to be installed
Depends: ros-noetic-simulators but it is not going to be installed
Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@DeepLearning:~# wget http://fishros.com/install -O fishros && . fishros
--2022-10-21 19:42:44-- http://fishros.com/install
Resolving fishros.com (fishros.com)... 139.9.131.171, 39.96.153.39, 39.96.153.59, ...
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://fishros.com/install/ [following]
--2022-10-21 19:42:45-- http://fishros.com/install/
Reusing existing connection to fishros.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 582 [application/octet-stream]
Saving to: ‘fishros’fishros 100%[===================>] 582 --.-KB/s in 0s
2022-10-21 19:42:45 (205 MB/s) - ‘fishros’ saved [582/582]
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-distro is already the newest version (1.4.0-1).
python3-yaml is already the newest version (5.3.1-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
sudo is already the newest version (1.8.31-1ubuntu1.2).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
--2022-10-21 19:42:47-- http://fishros.com/install/install1s/tools/base.py
Resolving fishros.com (fishros.com)... 139.9.131.171, 39.96.153.39, 39.96.153.59, ...
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41972 (41K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/base.py’/tmp/fishinstall/tools/base.py 100%[==================================================================================================>] 40.99K --.-KB/s in 0.07s
2022-10-21 19:42:48 (567 KB/s) - ‘/tmp/fishinstall/tools/base.py’ saved [41972/41972]
Run CMD Task:[dpkg --print-architecture]
[-]Result:successRUN Choose Task:[请输入括号内的数字]
---众多工具,等君来用---
[1]:一键安装:ROS(支持ROS和ROS2,树莓派Jetson)
[11]:一键安装:ROS+Docker(支持所有版本ROS/ROS2)
[2]:一键安装:github桌面版(小鱼常用的github客户端)
[3]:一键配置:rosdep(小鱼的rosdepc,又快又好用)
[4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
[5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
[6]:一键安装:nodejs
[7]:一键安装:VsCode开发工具
[8]:一键安装:Docker
[9]:一键安装:Cartographer(内测版v0.1)
[10]:一键安装:微信(可以在Linux上使用的微信)
[77]:测试模式:运行自定义工具测试
[0]:quit
请输入[]内的数字以选择:1
--2022-10-21 19:42:54-- http://fishros.com/install/install1s/tools/tool_install_ros.py
Resolving fishros.com (fishros.com)... 139.9.131.171, 39.96.153.39, 39.96.153.59, ...
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19050 (19K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_install_ros.py’/tmp/fishinstall/tools/tool_install_ros.py 100%[==================================================================================================>] 18.60K --.-KB/s in 0.06s
2022-10-21 19:42:54 (313 KB/s) - ‘/tmp/fishinstall/tools/tool_install_ros.py’ saved [19050/19050]
--2022-10-21 19:42:54-- http://fishros.com/install/install1s/tools/tool_config_rosenv.py
Resolving fishros.com (fishros.com)... 139.9.131.171, 39.96.153.39, 39.96.153.59, ...
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2457 (2.4K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_config_rosenv.py’/tmp/fishinstall/tools/tool_config_rosenv.py 100%[==================================================================================================>] 2.40K --.-KB/s in 0s
2022-10-21 19:42:54 (358 MB/s) - ‘/tmp/fishinstall/tools/tool_config_rosenv.py’ saved [2457/2457]
--2022-10-21 19:42:54-- http://fishros.com/install/install1s/tools/tool_config_system_source.py
Resolving fishros.com (fishros.com)... 139.9.131.171, 39.96.153.39, 39.96.153.59, ...
Connecting to fishros.com (fishros.com)|139.9.131.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7511 (7.3K) [application/octet-stream]
Saving to: ‘/tmp/fishinstall/tools/tool_config_system_source.py’/tmp/fishinstall/tools/tool_config_system_sour 100%[==================================================================================================>] 7.33K --.-KB/s in 0.02s
2022-10-21 19:42:54 (429 KB/s) - ‘/tmp/fishinstall/tools/tool_config_system_source.py’ saved [7511/7511]
欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
小鱼:检测当前系统ubuntu20.04:focal 支持一键安装ROS
=========接下来这一步很重要,如果不知道怎么选请选择1========
RUN Choose Task:[请输入括号内的数字]
首次安装一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
[1]:更换系统源再继续安装
[2]:不更换继续安装
[0]:quit
请输入[]内的数字以选择:2
Run CMD Task:[sudo apt update]
[-]Result:success --upgradable' to see them.eRun CMD Task:[sudo apt-cache search curl ]
[-]Result:success kage retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into memory..Run CMD Task:[sudo apt install curl -y]
[-]Result:success e and 6 not upgraded.Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:success eplacement (dummy transitional package)Run CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success e and 6 not upgraded.Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:successRun CMD Task:[dpkg --print-architecture]
[-]Result:success根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d/ros-fish.list]
[-]Result:successRun CMD Task:[sudo apt update]
[-]Result:success --upgradable' to see them.eRun CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success tends 'ros_core' and includes other basic functionalities like tf2 and urdf..namic reconfigure, nodelets, and pluginlib.l.恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success tends 'ros_core' and includes other basic functionalities like tf2 and urdf..namic reconfigure, nodelets, and pluginlib.l.RUN Choose Task:[请输入括号内的数字]
请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
[1]:noetic(ROS1)
[2]:foxy(ROS2)
[3]:galactic(ROS2)
[4]:rolling(ROS2)
[0]:quit
请输入[]内的数字以选择:1
RUN Choose Task:[请输入括号内的数字]
请选择安装的具体版本(如果不知道怎么选,请选1桌面版):
[1]:noetic(ROS1)桌面版
[2]:noetic(ROS1)基础版(小)
[0]:quit
请输入[]内的数字以选择:1
Run CMD Task:[sudo apt-cache search aptitude ]
[-]Result:success end for Debianfor C++ (development files)sionRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success e and 6 not upgraded.Run CMD Task:[sudo apt-cache search aptitude ]
[-]Result:success end for Debianfor C++ (development files)sionRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success e and 6 not upgraded.Run CMD Task:[sudo apt install ros-noetic-desktop-full -y]
Reading package lists... Done
Building dependency tree
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-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed
Depends: ros-noetic-perception but it is not going to be installed
Depends: ros-noetic-simulators but it is not going to be installed
Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run CMD Task:[sudo apt install ros-noetic-desktop-full -y]
[-]Result:code:100 etic-urdf-sim-tutorial but it is not going to be installed============================================================
请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决
确认了解情况,请输入回车继续安装n
Run CMD Task:[sudo aptitude install ros-noetic-desktop-full]
The following NEW packages will be installed:
字数太多,删除看不懂的:
0 packages upgraded, 1006 newly installed, 0 to remove and 6 not upgraded.
Need to get 529 MB of archives. After unpacking 2773 MB will be used.
The following packages have unmet dependencies:
libmysqlclient-dev : Depends: libmysqlclient21 (= 8.0.30-0ubuntu0.20.04.2) but 8.0.30-0ubuntu0.20.04.3 is installed
libcurl4-gnutls-dev : Conflicts: libcurl4-openssl-dev but 7.68.0-1ubuntu2.13 is to be installed
libcurl4-openssl-dev : Conflicts: libcurl4-gnutls-dev but 7.68.0-1ubuntu2.13 is to be installed
libx11-dev : Depends: libx11-6 (= 2:1.6.9-2ubuntu1.2) but 2:1.6.9-2ubuntu1.3 is installed
The following actions will resolve these dependencies:Keep the following packages at their current version:
-
default-libmysqlclient-dev [Not Installed]
-
freeglut3-dev [Not Installed]
-
libcairo2-dev [Not Installed]
-
libcurl4-gnutls-dev [Not Installed]
-
libegl-dev [Not Installed]
-
libfltk1.3-dev [Not Installed]
-
libgazebo11-dev [Not Installed]
-
libgdal-dev [Not Installed]
-
libgdk-pixbuf2.0-dev [Not Installed]
-
libgl-dev [Not Installed]
-
libgl1-mesa-dev [Not Installed]
-
libgles-dev [Not Installed]
-
libglew-dev [Not Installed]
-
libglu1-mesa-dev [Not Installed]
-
libglvnd-dev [Not Installed]
-
libglx-dev [Not Installed]
-
libgtk2.0-dev [Not Installed]
-
libmysqlclient-dev [Not Installed]
-
libpango1.0-dev [Not Installed]
-
libpcl-dev [Not Installed]
-
libpoco-dev [Not Installed]
-
libqt5opengl5-dev [Not Installed]
-
libqt5webkit5-dev [Not Installed]
-
libsimbody-dev [Not Installed]
-
libvtk7-dev [Not Installed]
-
libvtk7-qt-dev [Not Installed]
-
libx11-dev [Not Installed]
-
libxcomposite-dev [Not Installed]
-
libxcursor-dev [Not Installed]
-
libxdamage-dev [Not Installed]
-
libxext-dev [Not Installed]
-
libxfixes-dev [Not Installed]
-
libxft-dev [Not Installed]
-
libxi-dev [Not Installed]
-
libxinerama-dev [Not Installed]
-
libxmu-dev [Not Installed]
-
libxmu-headers [Not Installed]
-
libxrandr-dev [Not Installed]
-
libxrender-dev [Not Installed]
-
libxss-dev [Not Installed]
-
libxt-dev [Not Installed]
-
qtbase5-dev [Not Installed]
-
qtdeclarative5-dev [Not Installed]
-
qttools5-dev [Not Installed]
-
qttools5-private-dev [Not Installed]
-
ros-noetic-camera-info-manager [Not Installed]
-
ros-noetic-class-loader [Not Installed]
-
ros-noetic-common-tutorials [Not Installed]
-
ros-noetic-compressed-depth-image-transport [Not Installed]
-
ros-noetic-compressed-image-transport [Not Installed]
-
ros-noetic-control-toolbox [Not Installed]
-
ros-noetic-controller-manager [Not Installed]
-
ros-noetic-controller-manager-msgs [Not Installed]
-
ros-noetic-depth-image-proc [Not Installed]
-
ros-noetic-desktop [Not Installed]
-
ros-noetic-desktop-full [Not Installed]
-
ros-noetic-diagnostic-aggregator [Not Installed]
-
ros-noetic-diagnostic-analysis [Not Installed]
-
ros-noetic-diagnostic-common-diagnostics [Not Installed]
-
ros-noetic-diagnostics [Not Installed]
-
ros-noetic-diff-drive-controller [Not Installed]
-
ros-noetic-dynamic-reconfigure [Not Installed]
-
ros-noetic-executive-smach [Not Installed]
-
ros-noetic-filters [Not Installed]
-
ros-noetic-gazebo-dev [Not Installed]
-
ros-noetic-gazebo-plugins [Not Installed]
-
ros-noetic-gazebo-ros [Not Installed]
-
ros-noetic-gazebo-ros-control [Not Installed]
-
ros-noetic-gazebo-ros-pkgs [Not Installed]
-
ros-noetic-geometry [Not Installed]
-
ros-noetic-geometry-tutorials [Not Installed]
-
ros-noetic-image-common [Not Installed]
-
ros-noetic-image-pipeline [Not Installed]
-
ros-noetic-image-proc [Not Installed]
-
ros-noetic-image-publisher [Not Installed]
-
ros-noetic-image-rotate [Not Installed]
-
ros-noetic-image-transport [Not Installed]
-
ros-noetic-image-transport-plugins [Not Installed]
-
ros-noetic-image-view [Not Installed]
-
ros-noetic-interactive-marker-tutorials [Not Installed]
-
ros-noetic-joint-limits-interface [Not Installed]
-
ros-noetic-kdl-parser [Not Installed]
-
ros-noetic-laser-assembler [Not Installed]
-
ros-noetic-laser-filters [Not Installed]
-
ros-noetic-laser-geometry [Not Installed]
-
ros-noetic-laser-pipeline [Not Installed]
-
ros-noetic-librviz-tutorial [Not Installed]
-
ros-noetic-nodelet [Not Installed]
-
ros-noetic-nodelet-core [Not Installed]
-
ros-noetic-nodelet-topic-tools [Not Installed]
-
ros-noetic-nodelet-tutorial-math [Not Installed]
-
ros-noetic-pcl-conversions [Not Installed]
-
ros-noetic-pcl-ros [Not Installed]
-
ros-noetic-perception [Not Installed]
-
ros-noetic-perception-pcl [Not Installed]
-
ros-noetic-pluginlib [Not Installed]
-
ros-noetic-pluginlib-tutorials [Not Installed]
-
ros-noetic-polled-camera [Not Installed]
-
ros-noetic-qt-gui-cpp [Not Installed]
-
ros-noetic-robot [Not Installed]
-
ros-noetic-robot-state-publisher [Not Installed]
-
ros-noetic-ros-base [Not Installed]
-
ros-noetic-ros-comm [Not Installed]
-
ros-noetic-ros-core [Not Installed]
-
ros-noetic-rosbag [Not Installed]
-
ros-noetic-rosbag-storage [Not Installed]
-
ros-noetic-rosmsg [Not Installed]
-
ros-noetic-rosnode [Not Installed]
-
ros-noetic-rosservice [Not Installed]
-
ros-noetic-rostopic [Not Installed]
-
ros-noetic-roswtf [Not Installed]
-
ros-noetic-rqt-action [Not Installed]
-
ros-noetic-rqt-bag [Not Installed]
-
ros-noetic-rqt-bag-plugins [Not Installed]
-
ros-noetic-rqt-common-plugins [Not Installed]
-
ros-noetic-rqt-console [Not Installed]
-
ros-noetic-rqt-dep [Not Installed]
-
ros-noetic-rqt-graph [Not Installed]
-
ros-noetic-rqt-gui-cpp [Not Installed]
-
ros-noetic-rqt-image-view [Not Installed]
-
ros-noetic-rqt-launch [Not Installed]
-
ros-noetic-rqt-logger-level [Not Installed]
-
ros-noetic-rqt-moveit [Not Installed]
-
ros-noetic-rqt-msg [Not Installed]
-
ros-noetic-rqt-nav-view [Not Installed]
-
ros-noetic-rqt-plot [Not Installed]
-
ros-noetic-rqt-pose-view [Not Installed]
-
ros-noetic-rqt-publisher [Not Installed]
-
ros-noetic-rqt-py-common [Not Installed]
-
ros-noetic-rqt-reconfigure [Not Installed]
-
ros-noetic-rqt-robot-dashboard [Not Installed]
-
ros-noetic-rqt-robot-monitor [Not Installed]
-
ros-noetic-rqt-robot-plugins [Not Installed]
-
ros-noetic-rqt-robot-steering [Not Installed]
-
ros-noetic-rqt-rviz [Not Installed]
-
ros-noetic-rqt-service-caller [Not Installed]
-
ros-noetic-rqt-srv [Not Installed]
-
ros-noetic-rqt-tf-tree [Not Installed]
-
ros-noetic-rqt-topic [Not Installed]
-
ros-noetic-rviz [Not Installed]
-
ros-noetic-rviz-plugin-tutorials [Not Installed]
-
ros-noetic-rviz-python-tutorial [Not Installed]
-
ros-noetic-simulators [Not Installed]
-
ros-noetic-smach-ros [Not Installed]
-
ros-noetic-stage [Not Installed]
-
ros-noetic-stage-ros [Not Installed]
-
ros-noetic-stereo-image-proc [Not Installed]
-
ros-noetic-tf [Not Installed]
-
ros-noetic-tf-conversions [Not Installed]
-
ros-noetic-theora-image-transport [Not Installed]
-
ros-noetic-transmission-interface [Not Installed]
-
ros-noetic-turtle-tf [Not Installed]
-
ros-noetic-urdf [Not Installed]
-
ros-noetic-urdf-sim-tutorial [Not Installed]
-
ros-noetic-urdf-tutorial [Not Installed]
-
ros-noetic-visualization-tutorials [Not Installed]
-
ros-noetic-viz [Not Installed]
-
tk-dev [Not Installed]
-
tk8.6-dev [Not Installed]
Leave the following dependencies unresolved:
-
fluid recommends libfltk1.3-dev
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.Run CMD Task:[sudo aptitude install ros-noetic-desktop-full -y]
**
- ~~
- 字数太多,删除一部分看不懂的:~~**
[] cmake{a} cmake-data{a} comerr-dev{a} cython3{a} default-libmysqlclient-dev{a} fltk1.3-doc{a} fluid{a} fonts-lato{a} fonts-lyx{a} freeglut3{a} freeglut3-dev{a} gazebo11{a} gazebo11-common{a} gazebo11-plugin-base{a} gdal-data{a} gir1.2-gtk-2.0{a} gir1.2-harfbuzz-0.0{a} google-mock{a} googletest{a} graphviz{a} integration{a} sbcl{a} sdformat9-sdf{a} shiboken2{a} sip-dev{a} tcl{a} tcl-dev{a} tcl-vtk7{a} tcl8.6-dev{a} tk{a} tk-dev{a} tk8.6-dev{a} ttf-dejavu-core{a} unixodbc-dev{a} uuid-dev{a} va-driver-all{a} vdpau-driver-all{a} vtk7{a} x11proto-core-dev{a} x11p[-]Result:success ing 0 B will be used.upgraded.ntu1.3 is installedtalled20.04.3 is installeda-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} zlib1g-dev{a}
Run CMD Task:[sudo apt-cache search python3-catkin-tools ]
[-]Result:success for working with catkin.Run CMD Task:[sudo apt install python3-catkin-tools -y]
[-]Result:success e and 6 not upgraded.Run CMD Task:[sudo apt-cache search python3-rosdep ]
[-]Result:success anager abstraction tool for ROSPython 3)Run CMD Task:[sudo apt install python3-rosdep -y]
[-]Result:success e and 6 not upgraded.Run CMD Task:[ls /opt/ros/noetic/setup.bash]
[-]Result:code:2安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
Run CMD Task:[ls /opt/ros/noetic/setup.bash]
[-]Result:code:2 -
-
@295714153 在 一键安装ROS失败 中说:
请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决
确认了解情况,请输入回车继续安装n看提示你并没有按照提示先n后y.
@295714153 在 一键安装ROS失败 中说:
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed. -
The following packages have unmet dependencies:
ros-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed
Depends: ros-noetic-perception but it is not going to be installed
Depends: ros-noetic-simulators but it is not going to be installed
Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run CMD Task:[sudo apt install ros-noetic-desktop-full -y]
[-]Result:code:100 etic-urdf-sim-tutorial but it is not going to be installed============================================================
请注意我,检测你在安装过程中出现依赖问题,请在稍后输入n,再选择y,即可解决
确认了解情况,请输入回车继续安装先按回车
Leave the following dependencies unresolved:
-
fluid recommends libfltk1.3-dev
Accept this solution? [Y/n/q/?] n
再输入n
Leave the following dependencies unresolved:
161) fluid recommends libfltk1.3-devAccept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.再输入y
没错 啊
-
-
-
@295714153 在 一键安装ROS失败 中说:
首次安装一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
[1]:更换系统源再继续安装
[2]:不更换继续安装
[0]:quit
请输入[]内的数字以选择:2速度慢一定要选国内源,这里提示要换,你没有换哦
-
@295714153 代码一定要用代码块包裹,不太好看
@小鱼 在 提问前必看!一定要看!必须看一下! 中说:
不要截图,要复制粘贴,一定要代码块包裹
不要截图的原因是,代码方便回答者去复制帮你搜索,而且无论是在手机上还是电脑上都更容易看。
用代码块包裹是为了更加美观,不会一个代码很长一段,不易阅读