SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-

在ubuntu22.04编译moveit2包时遇到下面的问题:

stderr:launch_param_builder
/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.

stderr: moveit_configs_utils
/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.

解决方法:
更改setuptools版本
pip install setuptools==58.2.0
参考自此处原始回答

(Retinexformer) D:\Users\Retinexformer-master>python setup.py develop --no_cuda_ext D:\Anaconda\envs\Retinexformer\lib\site-packages\setuptools\installer.py:30: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. SetuptoolsDeprecationWarning, running develop D:\Anaconda\envs\Retinexformer\lib\site-packages\setuptools\command\easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. EasyInstallDeprecationWarning, D:\Anaconda\envs\Retinexformer\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running egg_info creating basicsr.egg-info writing basicsr.egg-info\PKG-INFO writing dependency_links to basicsr.egg-info\dependency_links.txt writing top-level names to basicsr.egg-info\top_level.txt writing manifest file 'basicsr.egg-info\SOURCES.txt' reading manifest file 'basicsr.egg-info\SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'basicsr.egg-info\SOURCES.txt' D:\Anaconda\envs\Retinexformer\lib\site-packages\torch\utils\cpp_extension.py:387: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) running build_ext Creating d:\anaconda\envs\retinexformer\lib\site-packages\basicsr.egg-link (link to .) Adding basicsr 1.2.0+cc63400 to easy-install.pth file Installed d:\users\retinexformer-master Processing dependencies for basicsr==1.2.0+cc63400 Finished processing dependencies for basicsr==1.2.0+cc63400 这是成功了吗?
最新发布
03-31
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值