当前位置:网站首页>UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. note
UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. note
2022-06-29 10:44:00 【zhangrelay】
The problem is described in detail as follows , Usually occurs at compile time :
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
The screenshot is as follows :

Open the corresponding folder setup.cfg:

Press warn Require modification :

[develop]
script-dir=$base/lib/f1tenth_gym_ros
[install]
install-scripts=$base/lib/f1tenth_gym_rosIt is amended as follows :
[develop]
script_dir=$base/lib/f1tenth_gym_ros
[install]
install_scripts=$base/lib/f1tenth_gym_ros
recompile , There will be no warning .

[email protected]:~$ cd ros_ws/f1tenth_gym_ros/
[email protected]:~/ros_ws/f1tenth_gym_ros$ ls
build install log src
[email protected]:~/ros_ws/f1tenth_gym_ros$ colcon build
Starting >>> f1tenth_gym_ros
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/dist.py:723: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
warnings.warn(
running egg_info
writing ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/PKG-INFO
writing dependency_links to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/dependency_links.txt
writing entry points to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/entry_points.txt
writing requirements to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/requires.txt
writing top-level names to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/top_level.txt
reading manifest file '../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file '../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/SOURCES.txt'
running build
running build_py
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running install_lib
running install_data
running install_egg_info
removing '/home/zhangrelay/ros_ws/f1tenth_gym_ros/install/f1tenth_gym_ros/lib/python3.10/site-packages/f1tenth_gym_ros-0.0.0-py3.10.egg-info' (and everything under it)
Copying ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info to /home/zhangrelay/ros_ws/f1tenth_gym_ros/install/f1tenth_gym_ros/lib/python3.10/site-packages/f1tenth_gym_ros-0.0.0-py3.10.egg-info
running install_scripts
Installing gym_bridge script to /home/zhangrelay/ros_ws/f1tenth_gym_ros/install/f1tenth_gym_ros/lib/f1tenth_gym_ros
writing list of installed files to '/home/zhangrelay/ros_ws/f1tenth_gym_ros/build/f1tenth_gym_ros/install.log'
Finished <<< f1tenth_gym_ros [1.11s]
[email protected]:~/ros_ws/f1tenth_gym_ros$ colcon build
Starting >>> f1tenth_gym_ros
running egg_info
writing ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/PKG-INFO
writing dependency_links to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/dependency_links.txt
writing entry points to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/entry_points.txt
writing requirements to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/requires.txt
writing top-level names to ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/top_level.txt
reading manifest file '../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file '../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info/SOURCES.txt'
running build
running build_py
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running install_lib
running install_data
running install_egg_info
removing '/home/zhangrelay/ros_ws/f1tenth_gym_ros/install/f1tenth_gym_ros/lib/python3.10/site-packages/f1tenth_gym_ros-0.0.0-py3.10.egg-info' (and everything under it)
Copying ../build/f1tenth_gym_ros/f1tenth_gym_ros.egg-info to /home/zhangrelay/ros_ws/f1tenth_gym_ros/install/f1tenth_gym_ros/lib/python3.10/site-packages/f1tenth_gym_ros-0.0.0-py3.10.egg-info
running install_scripts
Installing gym_bridge script to /home/zhangrelay/ros_ws/f1tenth_gym_ros/install/f1tenth_gym_ros/lib/f1tenth_gym_ros
writing list of installed files to '/home/zhangrelay/ros_ws/f1tenth_gym_ros/build/f1tenth_gym_ros/install.log'
Finished <<< f1tenth_gym_ros [1.10s]
[email protected]:~/ros_ws/f1tenth_gym_ros$
边栏推荐
- Fully understand the MESI cache consistency protocol
- Reading notes of CLR via C -clr boarding and AppDomain
- 8年打磨,《游戏设计梦工厂》发布史诗级更新!
- How to quickly complete disk partitioning
- 由ASP.NET Core根据路径下载文件异常引发的探究
- With this tool, automatic identification and verification code is no longer a problem
- 在 2022 年找工作,毕业生们的 “最后一课”
- Solve the problem that zxing's QR code contains Chinese garbled code
- AQS之Atomic详解
- Bug description, rating and life cycle
猜你喜欢
随机推荐
Is it safe to open a securities account? Is it reliable?
AQS之ReentrantLock源码解析
由ASP.NET Core根据路径下载文件异常引发的探究
《MongoDB入门教程》第02篇 MongoDB安装
BUUCTF--内涵的软件
【C语言进阶】文件操作(一)
Hystrix fuse: Service fusing and service degradation
如何优雅的写 Controller 层代码?
The use and difference of watch listening and computed calculation attributes
FreeRTOS porting of official website based on keil5 auto configuring STM32F103 standard library
Attribute in C
Alibaba cloud server is installed and configured with redis. Remote access is unavailable
查看CSDN的博客排名
打印9*9乘法口诀表(C语言)
《CLR via C#》读书笔记-加载与AppDomain
I would like to know how to open an account for free online stock registration? In addition, is it safe to open a mobile account?
Binary tree
全面理解Synchronized
Voir le classement des blogs pour csdn
如何快速完成磁盘分区








