当前位置:网站首页>UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. 笔记
UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. 笔记
2022-06-29 09:32:00 【zhangrelay】
问题详细描述如下,通常出现在编译时候:
/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
截图如下:

打开对应文件夹下setup.cfg:

按warn要求修改:

[develop]
script-dir=$base/lib/f1tenth_gym_ros
[install]
install-scripts=$base/lib/f1tenth_gym_ros修改为:
[develop]
script_dir=$base/lib/f1tenth_gym_ros
[install]
install_scripts=$base/lib/f1tenth_gym_ros
重新编译,就没有警告了。

[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$
边栏推荐
猜你喜欢

Simulation problem of two stacks

全面理解Synchronized

Bug的描述、定级、生命周期

Picture verification code control

BUUCTF--reverse2

通过Win32API调用另一界面的按钮

解决zxing的QR码包含中文时乱码的问题

Alibaba cloud server is installed and configured with redis. Remote access is unavailable

智能组卷系统设计

Related problems of pointer array, array pointer and parameter passing
随机推荐
AGCTFb部分题解
C#窗体向另一个窗体实时传值
Analysis of reentrantlock source code of AQS
Vmware的下载与安装(基本思路+详细过程)
Automatic 3D Detection and Segmentation of Head and Neck Cancer from MRI Data.
BUUCTF--reverse2
September 25, 2020 noncopyable of boost library for singleton mode
Serpentine filling number
October 17, 2020: question brushing 1
manacher
Slide the custom control to close the activity control
Implementation of iequalitycomparer interface in C #
C#中Linq常用用法
WinForm uses zxing to generate QR code
Talk about threads and concurrency
打印100~200之间的素数(C语言)
InnoDB in MySQL_ page_ Cleaners details
二叉树
Voir le classement des blogs pour csdn
qgis制图