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

huangapple go评论53阅读模式
英文:

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

问题

/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.
英文:
/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.

I run colcon build and I get the following error:

/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.

I also downgraded setptools to 58.2.0 but I still get the error
Any ideas?

答案1

得分: 0

  • 问题出在你的 Setuptools 版本上。降级它将消除此警告,但可能会导致其他依赖项出现问题。
  • 通过 pip 将其降级到 58.2 版本。
  • 此视频中解决。
  • 更多解释请参见问题链接
英文:
  • Problem is with your version of Setuptools . Downgrading it will remove this warning but that might cause problems with other as dependencies .
  • Downgrade it to 58.2 version through pip
  • Solved in a Video
  • More Explanation provided here: Question link

huangapple
  • 本文由 发表于 2023年5月10日 22:04:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76219375.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定